File tree Expand file tree Collapse file tree
apps/files_trashbin/tests Expand file tree Collapse file tree Original file line number Diff line number Diff 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 /**
You can’t perform that action at this time.
0 commit comments