Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebauman committed Nov 13, 2024
1 parent d7bd4b9 commit 8be65b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Unit/Models/ModelSerializationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public function testModelWithTimestampsCanBeSerializedAndEncoded()

$model = (new User)->setRawAttributes([
'cn' => 'René',
'dn' => 'cn=René',
'whenchanged' => [(string) $whenchanged],
'lastlogon' => [(string) $lastlogon],
]);
Expand Down Expand Up @@ -48,6 +49,7 @@ public function testModelWithBinaryGuidAndSidCanBeSerializedAndEncoded()
$sid = new Sid('S-1-5-21-1004336348-1177238915-682003330-512');

$model = (new Entry)->setRawAttributes([
'dn' => 'cn=Foo Bar',
'objectguid' => [$guid->getBinary()],
'objectsid' => [$sid->getBinary()],
]);
Expand Down

0 comments on commit 8be65b6

Please sign in to comment.