Browse Source

AssertSame not AssertEquals in more of the functions.

Eugene Ritter 5 years ago
parent
commit
8e0c93f7a0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/TestCase/Http/ClientTest.php

+ 2 - 2
tests/TestCase/Http/ClientTest.php

@@ -905,7 +905,7 @@ class ClientTest extends TestCase
     public function testCreateScopedClientSetsProtocol()
     {
         $client = Client::createScopedClientFromUrl('https://example.co/');
-        $this->assertEquals('https', $client->getConfig('scheme'));
+        $this->assertSame('https', $client->getConfig('scheme'));
     }
 
     /**
@@ -914,7 +914,7 @@ class ClientTest extends TestCase
     public function testCreateScopedClientSetsHost()
     {
         $client = Client::createScopedClientFromUrl('https://example.co/');
-        $this->assertEquals('example.co', $client->getConfig('host'));
+        $this->assertSame('example.co', $client->getConfig('host'));
     }
 
     /**