Skip to content

Commit 0af79eb

Browse files
committed
fixup! test: update form tests to include lockedBy and lockedUntil fields
Signed-off-by: Christian Hartmann <chris-hartmann@gmx.de>
1 parent 29cdac5 commit 0af79eb

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

tests/Unit/Controller/ApiControllerTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -979,6 +979,11 @@ public function testTransferNewOwnerNotFound() {
979979
->with(1)
980980
->willReturn($form);
981981

982+
$this->formsService
983+
->method('canEditForm')
984+
->with($form)
985+
->willReturn(true);
986+
982987
$this->userManager->expects($this->once())
983988
->method('get')
984989
->with('newOwner')

0 commit comments

Comments
 (0)