Skip to content

Commit

Permalink
Increase coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
vitormattos committed May 14, 2021
1 parent 05a90d0 commit 4e3ad57
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/Unit/Service/WebhookServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -467,4 +467,10 @@ public function testIndexWithoutPermission() {
'userManager' => $this->user
]);
}

public function testNotifyCallback() {
$file = $this->createMock(\OCP\Files\File::class);
$actual = $this->service->notifyCallback('https://test.coop', 'uuid', $file);
$this->assertInstanceOf('\OCP\Http\Client\IResponse', $actual);
}
}

0 comments on commit 4e3ad57

Please sign in to comment.