mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 08:12:15 +00:00
controller refactoring part 11
This commit is contained in:
@@ -25,7 +25,7 @@ class UserInvoicesTest extends TestCase
|
||||
],
|
||||
])->assertStatus(204);
|
||||
|
||||
$this->getJson('/api/user/invoices')
|
||||
$this->getJson('/api/user/subscription/invoices')
|
||||
->assertStatus(200)
|
||||
->assertJsonFragment([
|
||||
'customer' => $this->user['stripe_id'],
|
||||
|
||||
@@ -135,7 +135,7 @@ class AdminPlansTest extends TestCase
|
||||
|
||||
$invoices = $this
|
||||
->actingAs($user)
|
||||
->getJson('/api/user/invoices')
|
||||
->getJson('/api/user/subscription/invoices')
|
||||
->assertStatus(200)
|
||||
->assertJsonFragment([
|
||||
'customer' => $this->user['stripe_id'],
|
||||
|
||||
Reference in New Issue
Block a user