Improve uploader client connection and diagnostics
This commit is contained in:
@@ -39,6 +39,7 @@ class PhotoboothConnectCodeTest extends TenantTestCase
|
||||
{
|
||||
$event = Event::factory()->for($this->tenant)->create([
|
||||
'slug' => 'connect-code-redeem',
|
||||
'name' => 'Winterhochzeit',
|
||||
]);
|
||||
|
||||
EventPhotoboothSetting::factory()
|
||||
@@ -59,6 +60,7 @@ class PhotoboothConnectCodeTest extends TenantTestCase
|
||||
]);
|
||||
|
||||
$redeem->assertOk()
|
||||
->assertJsonPath('data.event_name', 'Winterhochzeit')
|
||||
->assertJsonPath('data.upload_url', fn ($value) => is_string($value) && $value !== '')
|
||||
->assertJsonPath('data.username', 'pbconnect')
|
||||
->assertJsonPath('data.password', 'SECRET12');
|
||||
|
||||
Reference in New Issue
Block a user