Skip to content

Commit 8be65b6

Browse files
committed
Fix tests
1 parent d7bd4b9 commit 8be65b6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/Unit/Models/ModelSerializationTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ public function testModelWithTimestampsCanBeSerializedAndEncoded()
1919

2020
$model = (new User)->setRawAttributes([
2121
'cn' => 'René',
22+
'dn' => 'cn=René',
2223
'whenchanged' => [(string) $whenchanged],
2324
'lastlogon' => [(string) $lastlogon],
2425
]);
@@ -48,6 +49,7 @@ public function testModelWithBinaryGuidAndSidCanBeSerializedAndEncoded()
4849
$sid = new Sid('S-1-5-21-1004336348-1177238915-682003330-512');
4950

5051
$model = (new Entry)->setRawAttributes([
52+
'dn' => 'cn=Foo Bar',
5153
'objectguid' => [$guid->getBinary()],
5254
'objectsid' => [$sid->getBinary()],
5355
]);

0 commit comments

Comments
 (0)