-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dependabot/npm_and_yarn/vite-6.0.1
- Loading branch information
Showing
89 changed files
with
447 additions
and
446 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
public/AdminLTE/js/plugins/ckeditor/samples/old/sample_posteddata.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ class EmailAssignmentTest extends TestCase | |
|
||
private $emailOther; | ||
|
||
public function setUp(): void | ||
protected function setUp(): void | ||
{ | ||
parent::setUp(); | ||
|
||
|
@@ -31,15 +31,15 @@ public function setUp(): void | |
} | ||
|
||
/** @test */ | ||
public function testUserCanAccessEmailAddForm() | ||
public function test_user_can_access_email_add_form() | ||
{ | ||
$this->actingAs($this->user) | ||
->get(route('mship.manage.email.add')) | ||
->assertSuccessful(); | ||
} | ||
|
||
/** @test */ | ||
public function testRedirectOnInvalidEmail() | ||
public function test_redirect_on_invalid_email() | ||
{ | ||
$data = [ | ||
'new_email' => 'not_an_email.com', | ||
|
@@ -53,7 +53,7 @@ public function testRedirectOnInvalidEmail() | |
} | ||
|
||
/** @test */ | ||
public function testRedirectOnNonMatchingEmail() | ||
public function test_redirect_on_non_matching_email() | ||
{ | ||
$data = [ | ||
'new_email' => '[email protected]', | ||
|
@@ -67,7 +67,7 @@ public function testRedirectOnNonMatchingEmail() | |
} | ||
|
||
/** @test */ | ||
public function testSuccessfulPostEmail() | ||
public function test_successful_post_email() | ||
{ | ||
$data = [ | ||
'new_email' => '[email protected]', | ||
|
@@ -81,7 +81,7 @@ public function testSuccessfulPostEmail() | |
} | ||
|
||
/** @test */ | ||
public function testDuplicateEmailOnPost() | ||
public function test_duplicate_email_on_post() | ||
{ | ||
$this->user->secondaryEmails()->create(['email' => '[email protected]']); | ||
|
||
|
@@ -97,7 +97,7 @@ public function testDuplicateEmailOnPost() | |
} | ||
|
||
/** @test */ | ||
public function testRedirectOnSecondaryEmailDeleted() | ||
public function test_redirect_on_secondary_email_deleted() | ||
{ | ||
$account = $this->user->secondaryEmails()->create(['email' => '[email protected]']); | ||
|
||
|
@@ -112,7 +112,7 @@ public function testRedirectOnSecondaryEmailDeleted() | |
} | ||
|
||
/** @test */ | ||
public function testSuccessfulSecondaryEmailAddViaGetHasRelevantData() | ||
public function test_successful_secondary_email_add_via_get_has_relevant_data() | ||
{ | ||
$account = $this->user->secondaryEmails()->create(['email' => '[email protected]']); | ||
|
||
|
@@ -126,7 +126,7 @@ public function testSuccessfulSecondaryEmailAddViaGetHasRelevantData() | |
} | ||
|
||
/** @test */ | ||
public function testAssignmentsEmailsPassedToView() | ||
public function test_assignments_emails_passed_to_view() | ||
{ | ||
$verifiedEmailAddress = '[email protected]'; | ||
$unverifiedEmailAddress = '[email protected]'; | ||
|
@@ -150,7 +150,7 @@ public function testAssignmentsEmailsPassedToView() | |
} | ||
|
||
/** @test */ | ||
public function testUserCannotDeleteOtherUsersEmail() | ||
public function test_user_cannot_delete_other_users_email() | ||
{ | ||
$emailInstance = $this->userOther->secondaryEmails()->create(['email' => $this->emailOther]); | ||
|
||
|
@@ -159,7 +159,7 @@ public function testUserCannotDeleteOtherUsersEmail() | |
} | ||
|
||
/** @test */ | ||
public function testUserCannotDeleteOtherUsersEmailOnPost() | ||
public function test_user_cannot_delete_other_users_email_on_post() | ||
{ | ||
$emailInstance = $this->userOther->secondaryEmails()->create(['email' => $this->emailOther]); | ||
|
||
|
@@ -168,7 +168,7 @@ public function testUserCannotDeleteOtherUsersEmailOnPost() | |
} | ||
|
||
/** @test */ | ||
public function testExistingAuthenticatedUserCanVerifyEmailViaGet() | ||
public function test_existing_authenticated_user_can_verify_email_via_get() | ||
{ | ||
$email = factory(Email::class)->states('unverified')->create(); | ||
|
||
|
@@ -179,7 +179,7 @@ public function testExistingAuthenticatedUserCanVerifyEmailViaGet() | |
} | ||
|
||
/** @test */ | ||
public function testItTriggersAnUpdateWhenAssigningSSOEmail() | ||
public function test_it_triggers_an_update_when_assigning_sso_email() | ||
{ | ||
$sso_client = factory(\Laravel\Passport\Client::class)->create(); | ||
$email = factory(Email::class)->create(['account_id' => $this->user->id]); | ||
|
@@ -195,7 +195,7 @@ public function testItTriggersAnUpdateWhenAssigningSSOEmail() | |
} | ||
|
||
/** @test */ | ||
public function testItTriggersAnUpdateWhenUnAssigningSSOEmail() | ||
public function test_it_triggers_an_update_when_un_assigning_sso_email() | ||
{ | ||
$sso_email = factory(\App\Models\Sso\Email::class)->create(); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.