mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-08 00:02:15 +01:00
Added trial and blocking to billing contract, fixed bug in running time tracker command
This commit is contained in:
committed by
Constantin Graf
parent
7c593f8f87
commit
5b7df869ad
@@ -35,10 +35,14 @@ abstract class TestCaseWithDatabase extends TestCase
|
||||
$ownerMember = Member::factory()->forUser($owner)->forOrganization($organization)->create([
|
||||
'role' => Role::Owner->value,
|
||||
]);
|
||||
$owner->currentOrganization()->associate($organization);
|
||||
$owner->save();
|
||||
}
|
||||
$member = Member::factory()->forUser($user)->forOrganization($organization)->create([
|
||||
'role' => $roleName,
|
||||
]);
|
||||
$user->currentOrganization()->associate($organization);
|
||||
$user->save();
|
||||
|
||||
return (object) [
|
||||
'user' => $user,
|
||||
|
||||
Reference in New Issue
Block a user