File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ public function testValid()
23
23
$ this ->assertSame ('123 ' , $ object ->{3.45 });
24
24
25
25
$ data = $ schema ->export ($ object );
26
- $ this ->assertSame (( object ) array ('3.45 ' => '123 ' ), $ data );
26
+ $ this ->assertSame (array ('3.45 ' => '123 ' ), ( array ) $ data );
27
27
}
28
28
29
29
public function testInvalidObject ()
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ public function testCreate()
38
38
39
39
40
40
$ rawDataTwo = $ schema ->export ($ data );
41
- $ this ->assertSame ($ rawData , $ rawDataTwo );
41
+ $ this ->assertEquals ($ rawData , $ rawDataTwo );
42
42
}
43
43
44
44
}
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ public function testImportClass()
27
27
);
28
28
$ object = LevelOneClass::import ($ data );
29
29
$ this ->assertSame (123 , $ object ->level1 ->level2 ->level3 );
30
- $ this ->assertSame ($ data , LevelOneClass::export ($ object ));
30
+ $ this ->assertEquals ($ data , LevelOneClass::export ($ object ));
31
31
}
32
32
33
33
You can’t perform that action at this time.
0 commit comments