Browse Source

Use assertNull in test case

Michael Hoffmann 9 years ago
parent
commit
f748b302f1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/TestCase/Http/ServerRequestTest.php

+ 1 - 1
tests/TestCase/Http/ServerRequestTest.php

@@ -3543,7 +3543,7 @@ XML;
         $request = new ServerRequest();
 
         //Test default null
-        $this->assertSame($request->getEnv('Foo'), null);
+        $this->assertNull($request->getEnv('Foo'), null);
 
         //Test default set
         $this->assertSame($request->getEnv('Foo', 'Bar'), 'Bar');