public function QueryParametersToURLTestCase::expectedStatus in Query Parameters To URL 7
Checks if HTTP status code matches.
1 call to QueryParametersToURLTestCase::expectedStatus()
- QueryParametersToURLTestCase::assertStatusAndPath in ./
query_parameters_to_url.test - Asserts that the status code and paths are equivalent.
File
- ./
query_parameters_to_url.test, line 278 - Query Arguments To URL tests.
Class
- QueryParametersToURLTestCase
- General test cases.
Code
public function expectedStatus($status, $expected_status) {
return strpos($status, (string) $expected_status) !== FALSE;
}