From 4a4690d479dfe1386edfbce8c8488b859d7e0240 Mon Sep 17 00:00:00 2001 From: Prashant Singh Date: Wed, 10 Jul 2019 13:33:00 +0530 Subject: [PATCH] Cleaned tests directory --- tests/Feature/Auth/AuthTest.php | 4 +-- tests/Feature/CheckProductsSystem.php | 20 ------------ tests/Feature/Checkout/Cart/CheckCart.php | 37 ----------------------- 3 files changed, 2 insertions(+), 59 deletions(-) delete mode 100644 tests/Feature/CheckProductsSystem.php delete mode 100644 tests/Feature/Checkout/Cart/CheckCart.php diff --git a/tests/Feature/Auth/AuthTest.php b/tests/Feature/Auth/AuthTest.php index 157e4d5f5..2d7926c61 100644 --- a/tests/Feature/Auth/AuthTest.php +++ b/tests/Feature/Auth/AuthTest.php @@ -68,7 +68,7 @@ class AuthTest extends TestCase config(['app.url' => 'http://127.0.0.1:8000']); $customers = app(Customer::class); - $customer = $customers->findOneByField('email', 'prashant@webkul.com'); + $customer = $customers->findOneByField('email', 'john@doe.net'); $response = $this->post('/customer/login', [ 'email' => $customer->email, @@ -84,7 +84,7 @@ class AuthTest extends TestCase public function willNotLoginWithWrongCredentials() { $customers = app(Customer::class); - $customer = $customers->findOneByField('email', 'prashant@webkul.com'); + $customer = $customers->findOneByField('email', 'john@doe.net'); $response = $this->from(route('login'))->post(route('customer.session.create'), [ diff --git a/tests/Feature/CheckProductsSystem.php b/tests/Feature/CheckProductsSystem.php deleted file mode 100644 index 493e3ddd7..000000000 --- a/tests/Feature/CheckProductsSystem.php +++ /dev/null @@ -1,20 +0,0 @@ -assertTrue(true); - } -} diff --git a/tests/Feature/Checkout/Cart/CheckCart.php b/tests/Feature/Checkout/Cart/CheckCart.php deleted file mode 100644 index d1de7e249..000000000 --- a/tests/Feature/Checkout/Cart/CheckCart.php +++ /dev/null @@ -1,37 +0,0 @@ -