mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-29 03:10:51 +00:00
controller refactoring part 5
This commit is contained in:
@@ -25,7 +25,7 @@ class SettingsTest extends TestCase
|
||||
'value' => 'Give me a money!',
|
||||
]);
|
||||
|
||||
$this->getJson('/api/content?column=get_started_title|pricing_description')
|
||||
$this->getJson('/api/settings?column=get_started_title|pricing_description')
|
||||
->assertStatus(200)
|
||||
->assertExactJson([
|
||||
'get_started_title' => 'Hello World!',
|
||||
@@ -63,7 +63,7 @@ class SettingsTest extends TestCase
|
||||
'value' => '15a53561-d387-4e0a-8de1-5d1bff34c1ed',
|
||||
]);
|
||||
|
||||
$this->getJson('/api/content?column=purchase_code')
|
||||
$this->getJson('/api/settings?column=purchase_code')
|
||||
->assertStatus(401);
|
||||
}
|
||||
|
||||
|
||||
@@ -222,7 +222,7 @@ class UserShareTest extends TestCase
|
||||
'id' => $folder->id,
|
||||
])->assertStatus(201);
|
||||
|
||||
$this->deleteJson('/api/share/revoke', [
|
||||
$this->delete('/api/share', [
|
||||
'tokens' => [
|
||||
$folder->shared->token,
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user