@@ -61,7 +61,7 @@ public function testExtractLinkHeader(): void
6161 // Run the request
6262 $ result = $ api ->getRestClient ()->request ('GET ' , '/admin/shop.json ' );
6363
64- $ this ->assertEquals ($ pageInfo , $ result ['link ' ]['next ' ]);
64+ $ this ->assertSame ($ pageInfo , $ result ['link ' ]['next ' ]);
6565 }
6666
6767 public function testRequestAccess (): void
@@ -138,7 +138,7 @@ public function testGetAuthUrlForOffline(): void
138138 });
139139 $ api ->setSession (new Session ('example.myshopify.com ' ));
140140
141- $ this ->assertEquals (
141+ $ this ->assertSame (
142142 'https://example.myshopify.com/admin/oauth/authorize?client_id=123&scope=read_products%2Cwrite_products&redirect_uri=https%3A%2F%2Flocalapp.local%2F ' ,
143143 $ api ->getAuthUrl (['read_products ' , 'write_products ' ], 'https://localapp.local/ ' )
144144 );
@@ -152,7 +152,7 @@ public function testGetAuthUrlForPerUser(): void
152152 });
153153 $ api ->setSession (new Session ('example.myshopify.com ' ));
154154
155- $ this ->assertEquals (
155+ $ this ->assertSame (
156156 'https://example.myshopify.com/admin/oauth/authorize?client_id=123&scope=read_products%2Cwrite_products&redirect_uri=https%3A%2F%2Flocalapp.local%2F&grant_options%5B%5D=per-user ' ,
157157 $ api ->getAuthUrl (['read_products ' , 'write_products ' ], 'https://localapp.local/ ' , 'per-user ' )
158158 );
@@ -196,7 +196,7 @@ public function testRequestSuccess(): void
196196 $ this ->assertInstanceOf (ResponseAccess::class, $ response ['body ' ]);
197197 $ this ->assertSame ('limit=1&page=1 ' , $ query );
198198 $ this ->assertSame ('!#@ ' , $ tokenHeader );
199- $ this ->assertEquals ( true , $ specialHeader );
199+ $ this ->assertSame ( ' 1 ' , $ specialHeader );
200200 }
201201
202202 public function testRequestForceRequestType (): void
0 commit comments