diff --git a/docs/en/reference/urlvariabletools.md b/docs/en/reference/urlvariabletools.md index 789b082f8..e8ca0557a 100644 --- a/docs/en/reference/urlvariabletools.md +++ b/docs/en/reference/urlvariabletools.md @@ -35,8 +35,6 @@ Append the option and corresponding value to your URL in your browser's address | URL Variable | | Values | | Description | | ------------ | | ------ | | ----------- | - | debugmanifest | | 1 | | Show the entire Sapphire manifest as currently built (Use `/dev/build` to rebuild) | - | usetestmanifest | | 1 | | Force use of the default test manifest | | debugmethods | | 1 | | Shows all methods available when an object is constructed (useful when extending classes or using object decorators) | | debugfailover | | 1 | | Shows failover methods from classes extended | diff --git a/tests/api/RestfulServiceTest.php b/tests/api/RestfulServiceTest.php index 5ea4f0cf2..ae7b6f728 100644 --- a/tests/api/RestfulServiceTest.php +++ b/tests/api/RestfulServiceTest.php @@ -109,11 +109,10 @@ class RestfulServiceTest extends SapphireTest { } function testHttpErrorWithCache() { - $subUrl = 'RestfulServiceTest_Controller/httpErrorWithCache?usetestmanifest=1&flush=1'; + $subUrl = 'RestfulServiceTest_Controller/httpErrorWithCache'; $connection = new RestfulServiceTest_MockErrorService(Director::absoluteBaseURL(), 0); $this->createFakeCachedResponse($connection, $subUrl); $response = $connection->request($subUrl); - $this->assertEquals(400, $response->getStatusCode()); $this->assertEquals("Cache response body",$response->getCachedBody()); $this->assertContains("HTTP Error", $response->getBody());