mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-13 15:07:49 +00:00
add features
* feat: autojoin toggle * feat: auto add devices * feat: proxy feature * feat: support puppeteer in docker * feat: toggle to activate cloud proxy * feat: relay device information * feat: relay logs to cloud * feat: migrate on start * feat: calculate battery state, wifi signal * feat: eye candy for configure view * feat: update via api
This commit is contained in:
parent
d4eb832186
commit
715e6a2562
53 changed files with 1459 additions and 460 deletions
|
|
@ -44,4 +44,4 @@ test('users can logout', function () {
|
|||
|
||||
$this->assertGuest();
|
||||
$response->assertRedirect('/');
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -46,4 +46,4 @@ test('email is not verified with invalid hash', function () {
|
|||
$this->actingAs($user)->get($verificationUrl);
|
||||
|
||||
expect($user->fresh()->hasVerifiedEmail())->toBeFalse();
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -37,4 +37,4 @@ test('password is not confirmed with invalid password', function () {
|
|||
->call('confirmPassword');
|
||||
|
||||
$response->assertHasErrors(['password']);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -65,4 +65,4 @@ test('password can be reset with valid token', function () {
|
|||
|
||||
return true;
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -23,4 +23,4 @@ test('new users can register', function () {
|
|||
->assertRedirect(route('dashboard', absolute: false));
|
||||
|
||||
$this->assertAuthenticated();
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -15,4 +15,4 @@ test('authenticated users can visit the dashboard', function () {
|
|||
|
||||
$response = $this->get('/dashboard');
|
||||
$response->assertStatus(200);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -38,4 +38,4 @@ test('correct password must be provided to update password', function () {
|
|||
->call('updatePassword');
|
||||
|
||||
$response->assertHasErrors(['current_password']);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -74,4 +74,4 @@ test('correct password must be provided to delete account', function () {
|
|||
$response->assertHasErrors(['password']);
|
||||
|
||||
expect($user->fresh())->not->toBeNull();
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue