We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7bd4b9 commit 8be65b6Copy full SHA for 8be65b6
tests/Unit/Models/ModelSerializationTest.php
@@ -19,6 +19,7 @@ public function testModelWithTimestampsCanBeSerializedAndEncoded()
19
20
$model = (new User)->setRawAttributes([
21
'cn' => 'René',
22
+ 'dn' => 'cn=René',
23
'whenchanged' => [(string) $whenchanged],
24
'lastlogon' => [(string) $lastlogon],
25
]);
@@ -48,6 +49,7 @@ public function testModelWithBinaryGuidAndSidCanBeSerializedAndEncoded()
48
49
$sid = new Sid('S-1-5-21-1004336348-1177238915-682003330-512');
50
51
$model = (new Entry)->setRawAttributes([
52
+ 'dn' => 'cn=Foo Bar',
53
'objectguid' => [$guid->getBinary()],
54
'objectsid' => [$sid->getBinary()],
55
0 commit comments