Skip to content

Commit

Permalink
Update SupportTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
puklipo committed Nov 30, 2024
1 parent 6d0cb2f commit fad7166
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions tests/Feature/Support/SupportTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,14 @@ public function test_did_document()
'at://alice.test',
'at://alice2.test',
],
'verificationMethod' => [],
'verificationMethod' => [
[
'id' => '',
'type' => 'Multikey',
'controller' => '',
'publicKeyMultibase' => 'ztest',
]
],
'service' => [
[
'id' => '#test',
Expand All @@ -47,7 +54,7 @@ public function test_did_document()
$this->assertSame('did:plc:test', $didDoc->id());
$this->assertSame('alice.test', $didDoc->handle());
$this->assertSame('https://pds', $didDoc->pdsUrl());
$this->assertSame([], $didDoc->get('verificationMethod'));
$this->assertSame('ztest', $didDoc->publicKey());
}

public function test_did_document_make()
Expand Down

0 comments on commit fad7166

Please sign in to comment.