From fe728479d0ec04da6831f352df488c0dcb9f1847 Mon Sep 17 00:00:00 2001 From: Peter Papp Date: Fri, 26 Feb 2021 18:12:28 +0100 Subject: [PATCH] - test skelet for folders and files --- tests/Feature/FileTest.php | 55 ++++++++++++++++++++++++ tests/Feature/FolderTest.php | 82 ++++++++++++++++++++++++++++++++++++ 2 files changed, 137 insertions(+) create mode 100644 tests/Feature/FileTest.php create mode 100644 tests/Feature/FolderTest.php diff --git a/tests/Feature/FileTest.php b/tests/Feature/FileTest.php new file mode 100644 index 00000000..8ecb71cc --- /dev/null +++ b/tests/Feature/FileTest.php @@ -0,0 +1,55 @@ +create(); + + $this->assertDatabaseHas('files', [ + 'id' => $folder->id + ]); + } + + public function it_upload_new_file() + { + + } + + public function it_rename_file() + { + + } + + public function it_move_file_to_another_folder() + { + + } + + public function it_zip_and_download_multiple_files() + { + + } + + public function it_delete_file_softly() + { + + } + + public function it_delete_file_hardly() + { + + } +} diff --git a/tests/Feature/FolderTest.php b/tests/Feature/FolderTest.php new file mode 100644 index 00000000..80449a34 --- /dev/null +++ b/tests/Feature/FolderTest.php @@ -0,0 +1,82 @@ +create(); + + $this->assertDatabaseHas('folders', [ + 'id' => $folder->id + ]); + } + + public function it_create_new_folder() + { + + } + + public function it_rename_folder() + { + + } + + public function it_set_folder_emoji() + { + + } + + public function it_set_folder_color() + { + + } + + public function it_move_folder_to_another_folder() + { + + } + + public function it_add_to_favourites_folder() + { + + } + + public function it_zip_and_download_folder_with_content_within() + { + + } + + public function it_delete_folder_softly() + { + + } + + public function it_delete_folder_hardly() + { + + } + + public function it_delete_folder_with_their_content_within_softly() + { + + } + + public function it_delete_folder_with_their_content_within_hardly() + { + + } +}