- removed participant upload

This commit is contained in:
Peter Papp
2021-08-09 09:38:08 +02:00
parent 9a80c044fc
commit 60337934cb
15 changed files with 35 additions and 123 deletions

View File

@@ -297,30 +297,6 @@ class BrowseTest extends TestCase
]);
}
/**
* @test
*/
public function it_get_participant_uploads()
{
$user = User::factory(User::class)
->create();
$file = File::factory(File::class)
->create([
'author' => 'visitor',
'type' => 'file',
'user_id' => $user->id,
]);
$this
->actingAs($user)
->getJson('/api/browse/participants')
->assertStatus(200)
->assertJsonFragment([
'id' => $file->id,
]);
}
/**
* @test
*/