Skip to content

Commit ca3151c

Browse files
committed
Improve naming
1 parent d876e71 commit ca3151c

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

tests/Feature/Notifications/Email/BulkCheckoutEmailTest.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ protected function setUp(): void
3333
$this->assignee = User::factory()->create(['email' => '[email protected]']);
3434
}
3535

36-
public function test_email_is_sent_to_user()
36+
public function test_sent_to_user()
3737
{
3838
$this->sendRequest();
3939

@@ -47,7 +47,7 @@ public function test_email_is_sent_to_user()
4747
});
4848
}
4949

50-
public function test_email_is_sent_to_location_manager()
50+
public function test_sent_to_location_manager()
5151
{
5252
$manager = User::factory()->create();
5353

@@ -65,7 +65,7 @@ public function test_email_is_sent_to_location_manager()
6565
});
6666
}
6767

68-
public function test_email_is_sent_to_user_asset_is_checked_out_to()
68+
public function test_sent_to_user_asset_is_checked_out_to()
6969
{
7070
$user = User::factory()->create();
7171

@@ -82,7 +82,7 @@ public function test_email_is_sent_to_user_asset_is_checked_out_to()
8282
});
8383
}
8484

85-
public function test_email_is_not_sent_to_user_when_user_does_not_have_email_address()
85+
public function test_not_sent_to_user_when_user_does_not_have_email_address()
8686
{
8787
$this->assignee = User::factory()->create(['email' => null]);
8888

@@ -92,7 +92,7 @@ public function test_email_is_not_sent_to_user_when_user_does_not_have_email_add
9292
Mail::assertNotSent(BulkAssetCheckoutMail::class);
9393
}
9494

95-
public function test_email_is_not_sent_to_user_if_assets_do_not_require_acceptance()
95+
public function test_not_sent_to_user_if_assets_do_not_require_acceptance()
9696
{
9797
$this->assets = Asset::factory()->doesNotRequireAcceptance()->count(2)->create();
9898

@@ -110,7 +110,7 @@ public function test_email_is_not_sent_to_user_if_assets_do_not_require_acceptan
110110
Mail::assertNotSent(BulkAssetCheckoutMail::class);
111111
}
112112

113-
public function test_email_is_sent_when_assets_do_not_require_acceptance_but_have_a_eula()
113+
public function test_sent_when_assets_do_not_require_acceptance_but_have_a_eula()
114114
{
115115
$this->assets = Asset::factory()->count(2)->create();
116116

@@ -135,7 +135,7 @@ public function test_email_is_sent_when_assets_do_not_require_acceptance_but_hav
135135
});
136136
}
137137

138-
public function test_email_is_sent_when_assets_do_not_require_acceptance_or_have_a_eula_but_category_is_set_to_send_email()
138+
public function test_sent_when_assets_do_not_require_acceptance_or_have_a_eula_but_category_is_set_to_send_email()
139139
{
140140
$this->assets = Asset::factory()->count(2)->create();
141141

@@ -160,7 +160,7 @@ public function test_email_is_sent_when_assets_do_not_require_acceptance_or_have
160160
});
161161
}
162162

163-
public function test_email_is_sent_to_cc_address_when_assets_require_acceptance()
163+
public function test_sent_to_cc_address_when_assets_require_acceptance()
164164
{
165165
$this->assets = Asset::factory()->requiresAcceptance()->count(2)->create();
166166

@@ -181,7 +181,7 @@ public function test_email_is_sent_to_cc_address_when_assets_require_acceptance(
181181
});
182182
}
183183

184-
public function test_email_is_sent_to_cc_address_when_assets_do_not_require_acceptance_or_have_eula_but_admin_cc_always_enabled()
184+
public function test_sent_to_cc_address_when_assets_do_not_require_acceptance_or_have_eula_but_admin_cc_always_enabled()
185185
{
186186
$this->settings->enableAdminCC('[email protected]')->enableAdminCCAlways();
187187

@@ -204,7 +204,7 @@ public function test_email_is_sent_to_cc_address_when_assets_do_not_require_acce
204204
});
205205
}
206206

207-
public function test_email_is_not_sent_to_cc_address_if_assets_do_not_require_acceptance()
207+
public function test_not_sent_to_cc_address_if_assets_do_not_require_acceptance()
208208
{
209209
$this->settings->enableAdminCC('[email protected]')->disableAdminCCAlways();
210210

0 commit comments

Comments
 (0)