We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b716df0 commit 5560fa9Copy full SHA for 5560fa9
tests/Feature/Filament/SettingsTest.php
@@ -1,14 +1,10 @@
1
<?php
2
3
use App\Models\User;
4
-use App\Settings\GeneralSettings;
5
6
use function Pest\Laravel\actingAs;
7
8
test('only administrative users can access the settings page', function () {
9
- GeneralSettings::fake(
10
- ['email' => '[email protected]', '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']]
11
- );
12
$user = User::factory()->create();
13
$administrator = User::factory()->create(['context' => 'administrator']);
14
@@ -22,6 +18,7 @@
22
18
'Contact',
23
19
'Support email',
24
20
'Support phone',
21
+ 'Privacy email',
25
'Mailing address',
26
'Social media',
27
'Facebook page',
0 commit comments