Skip to content

Commit 2e85c27

Browse files
authored
Update HasBinaryUuidTest.php
1 parent ae2126d commit 2e85c27

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/Feature/HasBinaryUuidTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)