File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ public function it_can_query_a_relation_with_scope()
8181 }
8282
8383 /** @test */
84- public function it_decodes_columns_besides_primary_uuid_when_turned_to_array ()
84+ public function it_decodes_columns_besides_primary_uuid_when_turned_to_an_array ()
8585 {
8686 $ uuid = Uuid::uuid1 ();
8787 $ relationUuid = Uuid::uuid1 ();
@@ -91,9 +91,8 @@ public function it_decodes_columns_besides_primary_uuid_when_turned_to_array()
9191 $ modelArray = $ model ->toArray ();
9292
9393 $ this ->assertNotNull ($ model );
94- $ this ->assertCount (2 , $ modelArray );
94+ $ this ->assertCount (4 , $ modelArray );
9595 $ this ->assertTrue (array_key_exists ('relation_uuid ' , $ modelArray ));
96- $ this ->assertTrue (array_key_exists ('uuid ' , $ modelArray ));
9796 $ this ->assertEquals ($ modelArray ['relation_uuid ' ], $ model ->relation_uuid_text );
9897 }
9998
You can’t perform that action at this time.
0 commit comments