Adjusted for global discount

Fixed tests for Laravel 5.7
This commit is contained in:
Patrick Henninger
2018-12-21 15:18:27 +01:00
parent 645d6f78ad
commit 48df3f5d74
4 changed files with 109 additions and 15 deletions

View File

@@ -488,6 +488,7 @@ class CartTest extends TestCase
'tax' => 2.10,
'subtotal' => 10.0,
'options' => [],
'discount' => 0.0
],
'370d08585360f5c568b18d1f2e4ca1df' => [
'rowId' => '370d08585360f5c568b18d1f2e4ca1df',
@@ -498,6 +499,7 @@ class CartTest extends TestCase
'tax' => 2.10,
'subtotal' => 10.0,
'options' => [],
'discount' => 0.0
]
], $content->toArray());
}
@@ -913,7 +915,7 @@ class CartTest extends TestCase
$user = Mockery::mock(Authenticatable::class);
event(new Logout($user));
event(new Logout(\Auth::guard('web'), $user));
}
/**