@@ -35,9 +35,9 @@ public function testConvert()
35
35
'attrs ' => [Image::LASERPOINTS_ATTRIBUTE => ['area ' => 500 ]],
36
36
]);
37
37
$ laserpointsImage = Image::convert ($ image );
38
- $ this ->assertEquals ($ image ->id , $ laserpointsImage ->id );
38
+ $ this ->assertSame ($ image ->id , $ laserpointsImage ->id );
39
39
$ this ->assertTrue ($ laserpointsImage instanceof Image);
40
- $ this ->assertEquals (500 , $ laserpointsImage ->laserpoints ['area ' ]);
40
+ $ this ->assertSame (500 , $ laserpointsImage ->laserpoints ['area ' ]);
41
41
}
42
42
43
43
public function testLaserpoints ()
@@ -51,7 +51,7 @@ public function testLaserpoints()
51
51
$ expect = [
52
52
'area ' => 500 ,
53
53
];
54
- $ this ->assertEquals ($ expect , $ image ->fresh ()->laserpoints );
54
+ $ this ->assertSame ($ expect , $ image ->fresh ()->laserpoints );
55
55
}
56
56
57
57
public function testAreaAttribute ()
@@ -63,15 +63,15 @@ public function testAreaAttribute()
63
63
'area ' => 600 ,
64
64
];
65
65
$ image ->save ();
66
- $ this ->assertEquals (600 , $ image ->fresh ()->area );
66
+ $ this ->assertSame (600 , $ image ->fresh ()->area );
67
67
68
68
// Laser point detection overrides the metadata.
69
69
$ image ->laserpoints = [
70
70
'area ' => 500 ,
71
71
];
72
72
$ image ->save ();
73
73
74
- $ this ->assertEquals (500 , $ image ->fresh ()->area );
74
+ $ this ->assertSame (500 , $ image ->fresh ()->area );
75
75
}
76
76
77
77
public function testLaserpointsNotThere ()
0 commit comments