test(config): align current odds and settlement contracts
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<?php
|
||||
|
||||
use App\Models\AdminUser;
|
||||
use App\Lottery\ErrorCode;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Facades\Hash;
|
||||
use Illuminate\Foundation\Testing\RefreshDatabase;
|
||||
@@ -112,7 +113,8 @@ test('agent line provision rejects site that already has root', function (): voi
|
||||
'password' => 'secret-strong',
|
||||
])
|
||||
->assertStatus(422)
|
||||
->assertJsonPath('data.errors.site_code.0', 'site_root_exists');
|
||||
->assertJsonPath('code', ErrorCode::ValidationFailed->value)
|
||||
->assertJsonStructure(['data' => ['errors' => ['site_code']]]);
|
||||
});
|
||||
|
||||
test('integration manager with site.manage can create integration site', function (): void {
|
||||
|
||||
Reference in New Issue
Block a user