From 1a598fe39e4e0b7a9fdba388713986ef0a9d3e82 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Mon, 28 Mar 2011 08:14:03 +1300 Subject: [PATCH] MINOR Removed obsolete 'usetestmanifest' flag from documentation and RestfulServiceTest --- docs/en/reference/urlvariabletools.md | 2 -- tests/api/RestfulServiceTest.php | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) 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());