mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-08 00:02:15 +01:00
Added telescope, basic project endpoint, basic filament resources, GitHub actions
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user