Skip to content
This repository was archived by the owner on Mar 5, 2022. It is now read-only.

Commit 8fadde7

Browse files
author
Florian Krämer
committed
Updating FileStorageTableTest
1 parent 1222601 commit 8fadde7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/TestCase/Model/Table/FileStorageTableTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ public function testBeforeDelete() {
6262
/**
6363
* testAfterDelete
6464
*
65+
* @todo Create a mock of FileStorage::getStorageAdapter() and test it
6566
* @return void
6667
*/
6768
public function testAfterDelete() {
@@ -71,8 +72,7 @@ public function testAfterDelete() {
7172
'record' => $entity,
7273
'adapter' => 'Local'
7374
]);
74-
$result = $this->FileStorage->afterDelete($event, $entity, []);
75-
$this->assertTrue($result);
75+
$this->FileStorage->afterDelete($event, $entity, []);
7676
}
7777

7878
/**

0 commit comments

Comments
 (0)