controller refactoring part 11

This commit is contained in:
Peter Papp
2021-07-20 17:17:18 +02:00
parent 2d814f3839
commit b0859f71cd
22 changed files with 295 additions and 252 deletions

View File

@@ -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'],

View File

@@ -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'],