Skip to content

Commit 6296136

Browse files
MorrisJobkekesselb
authored andcommitted
Revert "Do not run fragile TrashbinTest"
This reverts commit 000a92b.
1 parent b3bd949 commit 6296136

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

apps/files_trashbin/tests/TrashbinTest.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,15 +183,13 @@ public function testExpireOldFiles() {
183183
$remainingFiles = array_slice($manipulatedList, $count);
184184
$this->assertSame(1, count($remainingFiles));
185185
$remainingFile = reset($remainingFiles);
186-
// TODO: failing test
187-
#$this->assertSame('file2.txt', $remainingFile['name']);
186+
$this->assertSame('file2.txt', $remainingFile['name']);
188187

189188
// check that file1.txt and file3.txt was really deleted
190189
$newTrashContent = OCA\Files_Trashbin\Helper::getTrashFiles('/', self::TEST_TRASHBIN_USER1);
191190
$this->assertSame(1, count($newTrashContent));
192191
$element = reset($newTrashContent);
193-
// TODO: failing test
194-
#$this->assertSame('file2.txt', $element['name']);
192+
$this->assertSame('file2.txt', $element['name']);
195193
}
196194

197195
/**

0 commit comments

Comments
 (0)