- test skelet for share

This commit is contained in:
Peter Papp
2021-02-26 18:23:13 +01:00
parent 5227a5fb99
commit dfb809acee
5 changed files with 72 additions and 4 deletions

View File

@@ -10,7 +10,7 @@ use Tests\TestCase;
class BrowseTest extends TestCase
{
use DatabaseMigrations;
public function it_get_navigator_tree()
{

View File

@@ -43,6 +43,16 @@ class FileTest extends TestCase
}
public function it_delete_single_file()
{
}
public function it_delete_multiple_files()
{
}
public function it_delete_file_softly()
{

View File

@@ -60,6 +60,16 @@ class FolderTest extends TestCase
}
public function it_delete_single_folder()
{
}
public function it_delete_multiple_folder()
{
}
public function it_delete_folder_softly()
{

View File

@@ -0,0 +1,48 @@
<?php
namespace Tests\Feature;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Foundation\Testing\WithFaker;
use Tests\TestCase;
class ShareTest extends TestCase
{
use DatabaseMigrations;
public function it_share_folder_without_password()
{
}
public function it_share_folder_with_password()
{
}
public function it_share_folder_with_expiration_time()
{
}
public function it_share_folder_for_single_email()
{
}
public function it_share_folder_for_multiple_email()
{
}
public function it_cancel_single_sharing()
{
}
public function it_cancel_multiple_sharing()
{
}
}

View File

@@ -34,7 +34,7 @@ class UserTest extends TestCase
/**
* @test
*/
public function it_register_user_via_public_api()
public function it_register_user()
{
$this->postJson('/register', [
'email' => 'john@doe.com',
@@ -55,7 +55,7 @@ class UserTest extends TestCase
/**
* @test
*/
public function it_login_user_via_post_request()
public function it_login_user()
{
$user = User::factory(User::class)
->create(['email' => 'john@doe.com']);
@@ -69,7 +69,7 @@ class UserTest extends TestCase
/**
* @test
*/
public function it_change_user_password_via_post_request()
public function it_change_user_password_in_profile_settings()
{
$user = User::factory(User::class)
->create();