Added importer details endpoint

This commit is contained in:
Constantin Graf
2024-04-16 16:52:13 +02:00
committed by Gregor Vostrak
parent fe61a54c35
commit 1f79d5e50a
15 changed files with 180 additions and 9 deletions

View File

@@ -25,7 +25,7 @@ class DeleteTeamTest extends TestCase
$otherUser = User::factory()->create(), ['role' => 'test-role']
);
$response = $this->delete('/teams/'.$team->id);
$response = $this->delete('/teams/'.$team->getKey());
$this->assertNull($team->fresh());
$this->assertCount(0, $otherUser->fresh()->teams);
@@ -35,7 +35,7 @@ class DeleteTeamTest extends TestCase
{
$this->actingAs($user = User::factory()->withPersonalOrganization()->create());
$response = $this->delete('/teams/'.$user->currentTeam->id);
$response = $this->delete('/teams/'.$user->currentTeam->getKey());
$this->assertNotNull($user->currentTeam->fresh());
}