mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-05 18:23:48 +00:00
- test skelet for share
This commit is contained in:
@@ -10,7 +10,7 @@ use Tests\TestCase;
|
||||
class BrowseTest extends TestCase
|
||||
{
|
||||
use DatabaseMigrations;
|
||||
|
||||
|
||||
public function it_get_navigator_tree()
|
||||
{
|
||||
|
||||
|
||||
@@ -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()
|
||||
{
|
||||
|
||||
|
||||
@@ -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()
|
||||
{
|
||||
|
||||
|
||||
48
tests/Feature/ShareTest.php
Normal file
48
tests/Feature/ShareTest.php
Normal 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()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user