-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
afd6fa0
commit c2338ce
Showing
2 changed files
with
50 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?php | ||
|
||
return [ | ||
'device' => 'Gerät', | ||
'devices' => 'Geräte', | ||
|
||
// Deprecated | ||
'title' => 'Gerät', | ||
// Deprecated | ||
'totalone' => 'Geräte', | ||
// Deprecated | ||
'totaltwo' => 'Benutzer', | ||
// Deprecated | ||
'totalthree' => 'Aktiv', | ||
|
||
// Message | ||
'new_device_registered' => 'Neues Gerät registriert', | ||
'new_device_registered_message' => 'Ein neues Gerät wurde mit ihrem Benutzerkonto registriert.', | ||
'device_details' => 'Geräte Info', | ||
'if_not_you_secure_account' => 'Wenn das nicht Sie waren, bitte sichern Sie ihr Benutzerkonto.', | ||
|
||
// Not used yet | ||
'device_id' => 'Gerät ID', | ||
'device_type' => 'Gerät Typ', | ||
'device_name' => 'Gerät Name', | ||
'os' => 'Betriebssystem', | ||
'browser' => 'Browser', | ||
'city' => 'Stadt', | ||
'country' => 'Land', | ||
'location' => 'Standort', | ||
'whitelisted' => 'Whitelisted', | ||
]; |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
use Illuminate\Support\Facades\Artisan; | ||
|
||
beforeEach(function () { | ||
// Optionally, you can refresh the application routes | ||
Artisan::call('route:cache'); | ||
}); | ||
|
||
test('Lock WP config is true', function () { | ||
$lockwp = config('press.lock_wordpress'); | ||
expect($lockwp)->toBeTrue(); | ||
}); | ||
|
||
it('will lock Wp', function () { | ||
$response = $this->get('/wp'); | ||
$response->assertRedirect('/press/login'); | ||
}); |