diff --git a/tests/CashierTest.php b/tests/CashierTest.php index d44a6ae8..784bfaec 100644 --- a/tests/CashierTest.php +++ b/tests/CashierTest.php @@ -7,7 +7,6 @@ use Carbon\Carbon; use Illuminate\Http\Request; use Laravel\Cashier\Billable; -use PHPUnit\Framework\TestCase; use Illuminate\Database\Schema\Builder; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\ConnectionInterface; @@ -19,6 +18,8 @@ class CashierTest extends TestCase { public function setUp() { + parent::setUp(); + Eloquent::unguard(); $db = new DB; diff --git a/tests/TestCase.php b/tests/TestCase.php new file mode 100644 index 00000000..df358e93 --- /dev/null +++ b/tests/TestCase.php @@ -0,0 +1,14 @@ +