qr code generator

This commit is contained in:
Čarodej
2022-01-19 09:00:54 +01:00
parent 09449539fa
commit 89e886b40c
9 changed files with 104 additions and 16 deletions

View File

@@ -11,6 +11,21 @@ use Domain\Sharing\Notifications\SharedSendViaEmail;
class UserShareTest extends TestCase
{
/**
* @test
*/
public function it_generate_qr_code()
{
$user = User::factory()
->hasSettings()
->create();
$this
->actingAs($user)
->get('/api/share/123456789/qr')
->assertCreated();
}
/**
* @test
*/