Skip to content

A free open source IT asset/license management system

Clean up

Marcus Moore92fd121cae94
diff --git a/tests/Feature/Notifications/Email/BulkCheckoutEmailTest.php b/tests/Feature/Notifications/Email/BulkCheckoutEmailTest.php
index 3b938b797a..de904bcd0f 100644
--- a/tests/Feature/Notifications/Email/BulkCheckoutEmailTest.php
+++ b/tests/Feature/Notifications/Email/BulkCheckoutEmailTest.php
@@ -15,7 +15,6 @@ class BulkCheckoutEmailTest extends TestCase
private $assets;
private $target;
private $admin;
- private $checkout_at;
protected function setUp(): void
{
@@ -28,7 +27,6 @@ class BulkCheckoutEmailTest extends TestCase
$this->assets = Asset::factory()->requiresAcceptance()->count(2)->create();
$this->target = User::factory()->create(['email' => '[email protected]']);
$this->admin = User::factory()->create();
- $this->checkout_at = date('Y-m-d H:i:s');
}
public function test_email_is_sent_to_user()
@@ -120,7 +118,7 @@ class BulkCheckoutEmailTest extends TestCase
$this->assets,
$this->target,
$this->admin,
- $this->checkout_at,
+ date('Y-m-d H:i:s'),
'',
'A note here',
);