@@ -106,20 +106,34 @@ There is also a test implemented to test whether an unspecified endpoint returns
...
@@ -106,20 +106,34 @@ There is also a test implemented to test whether an unspecified endpoint returns
## Test overview
## Test overview
Test function: TestUrlIntelligenceOK
**Test function:** TestUrlIntelligenceOK
What it does: This function tests if the url-intelligence endpoint returns the expected status code 200 when called as logged in user.
Test function: TestUrlIntelligenceUnauthorized
What it does:
What it does: This function tests if the url intelligence endpoints returns the expected status code 401 (unauthorized) when called without the user log in.
Test function: TestHashIntelligenceOK
This function tests if the url-intelligence endpoint returns the expected status code 200 when called as logged in user.
What it does: This function tests if the hash-intelligence endpoint returns the expected status code 200 (statusOK) when called as logged in user.
What it does: This function tests if the hash intelligence endpoints returns the expected status code 401 (unauthorized) when called without the user log in.
Test function: TestUrlIntelligenceValidOutput
What it does:
What it does:
This function tests if the url intelligence endpoints returns the expected status code 401 (unauthorized) when called without the user log in.
**Test function:** TestHashIntelligenceOK
What it does:
This function tests if the hash-intelligence endpoint returns the expected status code 200 (statusOK) when called as logged in user.