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
+1 -1
View File
@@ -199,7 +199,7 @@ class UserAccountTest extends TestCase
'email_verified_at' => null,
]);
$this->postJson('/api/user/email/resend/verify', [
$this->postJson('/api/user/email/verify/resend', [
'email' => $user->email,
])
->assertStatus(204);
+1 -1
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'],
+1 -1
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'],