Skip to content

Commit

Permalink
fix: remove reference to ac_application and cc_application (resolves #…
Browse files Browse the repository at this point in the history
  • Loading branch information
jobara authored Apr 17, 2024
1 parent b716df0 commit 5560fa9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/Feature/Filament/SettingsTest.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
<?php

use App\Models\User;
use App\Settings\GeneralSettings;

use function Pest\Laravel\actingAs;

test('only administrative users can access the settings page', function () {
GeneralSettings::fake(
['email' => 'support@accessibilityexchange.ca', 'individual_orientation' => ['en' => 'english link'], 'org_orientation' => ['en' => 'english link'], 'fro_orientation' => ['en' => 'english link'], 'ac_application' => ['en' => 'english link'], 'cc_application' => ['en' => 'english link']]
);
$user = User::factory()->create();
$administrator = User::factory()->create(['context' => 'administrator']);

Expand All @@ -22,6 +18,7 @@
'Contact',
'Support email',
'Support phone',
'Privacy email',
'Mailing address',
'Social media',
'Facebook page',
Expand Down

0 comments on commit 5560fa9

Please sign in to comment.