diff --git a/tests/control/DirectorTest.php b/tests/control/DirectorTest.php index abc3a95fa..a83a541ae 100644 --- a/tests/control/DirectorTest.php +++ b/tests/control/DirectorTest.php @@ -147,7 +147,7 @@ class DirectorTest extends SapphireTest { $getresponse = Director::test($url, $fixture, null, strtoupper($method), null, null, $fixture); $this->assertType('SS_HTTPResponse', $getresponse, 'Director::test() returns SS_HTTPResponse'); - $this->assertEquals($fixture['somekey'], $getresponse->getBody(), 'Director::test() ' . $function); + $this->assertEquals($fixture['somekey'], $getresponse->getBody(), 'Director::test() ' . $testfunction); }