Cleaned tests directory
This commit is contained in:
parent
abd3913d45
commit
4a4690d479
|
|
@ -68,7 +68,7 @@ class AuthTest extends TestCase
|
||||||
config(['app.url' => 'http://127.0.0.1:8000']);
|
config(['app.url' => 'http://127.0.0.1:8000']);
|
||||||
|
|
||||||
$customers = app(Customer::class);
|
$customers = app(Customer::class);
|
||||||
$customer = $customers->findOneByField('email', 'prashant@webkul.com');
|
$customer = $customers->findOneByField('email', 'john@doe.net');
|
||||||
|
|
||||||
$response = $this->post('/customer/login', [
|
$response = $this->post('/customer/login', [
|
||||||
'email' => $customer->email,
|
'email' => $customer->email,
|
||||||
|
|
@ -84,7 +84,7 @@ class AuthTest extends TestCase
|
||||||
public function willNotLoginWithWrongCredentials()
|
public function willNotLoginWithWrongCredentials()
|
||||||
{
|
{
|
||||||
$customers = app(Customer::class);
|
$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'),
|
$response = $this->from(route('login'))->post(route('customer.session.create'),
|
||||||
[
|
[
|
||||||
|
|
|
||||||
|
|
@ -1,20 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
namespace Tests\Feature;
|
|
||||||
|
|
||||||
use Tests\TestCase;
|
|
||||||
use Illuminate\Foundation\Testing\WithFaker;
|
|
||||||
use Illuminate\Foundation\Testing\RefreshDatabase;
|
|
||||||
|
|
||||||
class CheckProductsSystem extends TestCase
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* A basic test example.
|
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function testExample()
|
|
||||||
{
|
|
||||||
$this->assertTrue(true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,37 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
namespace Tests\Feature;
|
|
||||||
|
|
||||||
use Tests\TestCase;
|
|
||||||
|
|
||||||
use App;
|
|
||||||
|
|
||||||
use Cart;
|
|
||||||
|
|
||||||
use Faker\Generator as Faker;
|
|
||||||
use Illuminate\Http\Request;
|
|
||||||
use Illuminate\Http\Response;
|
|
||||||
use Webkul\Customer\Repositories\CustomerRepository as Customer;
|
|
||||||
|
|
||||||
class AuthTest extends TestCase
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* Add a simple Item in cart for guest
|
|
||||||
*/
|
|
||||||
public function addSimpleItemGuest() {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Add a configurable Item in cart for guest
|
|
||||||
*/
|
|
||||||
public function addConfigurableItemGuest() {
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Remove an Item in cart for guest
|
|
||||||
*/
|
|
||||||
public function removeItemGuest() {
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue