Skip to content

Commit

Permalink
fix: CopyServiceTest
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlomiejmarszal committed Jun 14, 2024
1 parent dbcd502 commit 1ca1730
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/unit/model/sharedStimulus/service/CopyServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,12 @@ public function testSuccessfulCopy(): void
->method('getUri')
->willReturn('http://example.com/resource2');

$propertyMock = $this->createMock(core_kernel_classes_Property::class);
$targetResource
->expects($this->once())
->method('getProperty')
->willReturn($propertyMock);

$this->ontology
->expects($this->at(0))
->method('getResource')
Expand Down

0 comments on commit 1ca1730

Please sign in to comment.