diff --git a/src/resources/vue/Reseller/Dashboard.vue b/src/resources/vue/Reseller/Dashboard.vue --- a/src/resources/vue/Reseller/Dashboard.vue +++ b/src/resources/vue/Reseller/Dashboard.vue @@ -3,7 +3,7 @@
- {{ $t('dashboard.wallet') }} + Wallet {{ $root.price(balance) }} diff --git a/src/routes/api.php b/src/routes/api.php --- a/src/routes/api.php +++ b/src/routes/api.php @@ -201,6 +201,7 @@ Route::apiResource('invitations', API\V4\Reseller\InvitationsController::class); Route::post('invitations/{id}/resend', 'API\V4\Reseller\InvitationsController@resend'); + Route::apiResource('packages', API\V4\Reseller\PackagesController::class); Route::post('payments', 'API\V4\Reseller\PaymentsController@store'); Route::get('payments/mandate', 'API\V4\Reseller\PaymentsController@mandate'); diff --git a/src/tests/Browser/Reseller/PaymentMollieTest.php b/src/tests/Browser/Reseller/PaymentMollieTest.php --- a/src/tests/Browser/Reseller/PaymentMollieTest.php +++ b/src/tests/Browser/Reseller/PaymentMollieTest.php @@ -63,7 +63,7 @@ $browser->assertSeeIn('@title', 'Top up your wallet') ->waitFor('#payment-method-selection #creditcard') ->waitFor('#payment-method-selection #paypal') - ->waitFor('#payment-method-selection #banktransfer') + ->assertMissing('#payment-method-selection #banktransfer') ->click('#creditcard'); }) ->with(new Dialog('@payment-dialog'), function (Browser $browser) { diff --git a/src/tests/Feature/Controller/Reseller/PaymentsMollieTest.php b/src/tests/Feature/Controller/Reseller/PaymentsMollieTest.php --- a/src/tests/Feature/Controller/Reseller/PaymentsMollieTest.php +++ b/src/tests/Feature/Controller/Reseller/PaymentsMollieTest.php @@ -250,9 +250,8 @@ $response->assertStatus(200); $json = $response->json(); - $this->assertCount(3, $json); + $this->assertCount(2, $json); $this->assertSame('creditcard', $json[0]['id']); $this->assertSame('paypal', $json[1]['id']); - $this->assertSame('banktransfer', $json[2]['id']); } }