diff --git a/app/Models/Gateway.php b/app/Models/Gateway.php index 725352c06ab1..595078dbbcf0 100644 --- a/app/Models/Gateway.php +++ b/app/Models/Gateway.php @@ -56,7 +56,6 @@ class Gateway extends StaticModel return $this->getMethods(); } - /** * Test if gateway is custom. * @return bool TRUE|FALSE diff --git a/phpunit.xml b/phpunit.xml index 30a152af0175..e1b0575994e1 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,37 +1,6 @@ - - - ./app - - - ./vendor - ./app/Providers - ./app/Http - ./app/Models - ./app/Transformers - ./app/Events - ./app/Observers - ./app/Policies - ./app/Jobs - ./app/Factory - ./app/Helpers - ./app/Libraries - ./app/Listeners - ./app/Mail - ./app/Notifications - ./app/Providers - ./app/Repositories - ./app/Filters - ./app/Console/Kernel.php - ./app/Constants.php - ./app/Libraries/OFX.php - ./app/Exceptions/Handler.php - - - - - + ./tests/Unit @@ -53,6 +22,8 @@ + + diff --git a/tests/Browser/Client/PaymentMethods.php b/tests/Browser/Client/PaymentMethods.php deleted file mode 100644 index 6fd8e6968e4e..000000000000 --- a/tests/Browser/Client/PaymentMethods.php +++ /dev/null @@ -1,32 +0,0 @@ -browse(function (Browser $browser) { - $browser->visit('/client/login') - ->type('email', 'user@example.com') - ->type('password', config('ninja.testvars.password')) - ->press('Login') - ->assertPathIs('/client/dashboard'); - - $browser->visit(route('client.payment_methods.index')) - ->waitFor('.dataTable') - ->waitFor('.dataTables_empty') - ->assertSee('No records found'); - - // TODO: Testing Stripe