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

Commit

Permalink
Updating FileStorageTableTest
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Krämer committed Nov 18, 2015
1 parent 1222601 commit 8fadde7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/TestCase/Model/Table/FileStorageTableTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public function testBeforeDelete() {
/**
* testAfterDelete
*
* @todo Create a mock of FileStorage::getStorageAdapter() and test it
* @return void
*/
public function testAfterDelete() {
Expand All @@ -71,8 +72,7 @@ public function testAfterDelete() {
'record' => $entity,
'adapter' => 'Local'
]);
$result = $this->FileStorage->afterDelete($event, $entity, []);
$this->assertTrue($result);
$this->FileStorage->afterDelete($event, $entity, []);
}

/**
Expand Down

0 comments on commit 8fadde7

Please sign in to comment.