Added telescope, basic project endpoint, basic filament resources, GitHub actions

This commit is contained in:
Constantin Graf
2024-01-28 18:57:28 +01:00
parent e4f0eac834
commit e60e502612
80 changed files with 2563 additions and 135 deletions

View File

@@ -21,11 +21,11 @@ class UpdateTeamMemberRoleTest extends TestCase
);
$response = $this->put('/teams/'.$user->currentTeam->id.'/members/'.$otherUser->id, [
'role' => 'editor',
'role' => 'employee',
]);
$this->assertTrue($otherUser->fresh()->hasTeamRole(
$user->currentTeam->fresh(), 'editor'
$user->currentTeam->fresh(), 'employee'
));
}
@@ -40,7 +40,7 @@ class UpdateTeamMemberRoleTest extends TestCase
$this->actingAs($otherUser);
$response = $this->put('/teams/'.$user->currentTeam->id.'/members/'.$otherUser->id, [
'role' => 'editor',
'role' => 'employee',
]);
$this->assertTrue($otherUser->fresh()->hasTeamRole(