@@ -180,7 +180,7 @@ public function testSoftDelete(): void
180180
181181 $ entity = $ m ->loadBy ('name ' , 'Michael ' );
182182 $ softDeleteController ->softDelete ($ entity );
183- static ::assertEquals ([
183+ static ::assertSame ([
184184 'item ' => [
185185 1 => ['id ' => 1 , 'name ' => 'John ' , 'parent_item_id ' => null , 'is_deleted ' => '0 ' ],
186186 2 => ['id ' => 2 , 'name ' => 'Michael ' , 'parent_item_id ' => null , 'is_deleted ' => '1 ' ],
@@ -191,7 +191,7 @@ public function testSoftDelete(): void
191191 return $ m ->loadBy ('name ' , 'Michael ' );
192192 });
193193 $ softDeleteController ->restore ($ entity );
194- static ::assertEquals ([
194+ static ::assertSame ([
195195 'item ' => [
196196 1 => ['id ' => 1 , 'name ' => 'John ' , 'parent_item_id ' => null , 'is_deleted ' => '0 ' ],
197197 2 => ['id ' => 2 , 'name ' => 'Michael ' , 'parent_item_id ' => null , 'is_deleted ' => '0 ' ],
@@ -200,7 +200,7 @@ public function testSoftDelete(): void
200200
201201 $ entity = $ m ->loadBy ('name ' , 'Michael ' );
202202 $ entity ->delete ();
203- static ::assertEquals ([
203+ static ::assertSame ([
204204 'item ' => [
205205 1 => ['id ' => 1 , 'name ' => 'John ' , 'parent_item_id ' => null , 'is_deleted ' => '0 ' ],
206206 2 => ['id ' => 2 , 'name ' => 'Michael ' , 'parent_item_id ' => null , 'is_deleted ' => '1 ' ],
0 commit comments