File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -297,15 +297,15 @@ public function testEncoderIterationKey()
297
297
$ encoder = new BufferJsonEncoder ('value ' );
298
298
299
299
$ this ->assertSame (0 , $ encoder ->key ());
300
- $ this ->assertSame ( true , $ encoder ->valid ());
300
+ $ this ->assertTrue ( $ encoder ->valid ());
301
301
302
302
$ encoder ->rewind ();
303
303
$ this ->assertSame (0 , $ encoder ->key ());
304
- $ this ->assertSame ( true , $ encoder ->valid ());
304
+ $ this ->assertTrue ( $ encoder ->valid ());
305
305
306
306
$ encoder ->next ();
307
- $ this ->assertSame ( null , $ encoder ->key ());
308
- $ this ->assertSame ( false , $ encoder ->valid ());
307
+ $ this ->assertNull ( $ encoder ->key ());
308
+ $ this ->assertFalse ( $ encoder ->valid ());
309
309
}
310
310
311
311
public function testInvalidStatusAfterError ()
Original file line number Diff line number Diff line change @@ -92,8 +92,8 @@ public function testMetaData()
92
92
{
93
93
$ stream = new JsonStream ('value ' );
94
94
95
- $ this ->assertSame ( null , $ stream ->getMetadata ('key_that_does_not_exist ' ));
96
- $ this ->assertSame ( true , $ stream ->getMetadata ('seekable ' ));
95
+ $ this ->assertNull ( $ stream ->getMetadata ('key_that_does_not_exist ' ));
96
+ $ this ->assertTrue ( $ stream ->getMetadata ('seekable ' ));
97
97
$ this ->assertSame (['timed_out ' ,
98
98
'blocked ' ,
99
99
'eof ' ,
You can’t perform that action at this time.
0 commit comments