14 lines
418 B
PHP
14 lines
418 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
declare(strict_types=1);
|
||
|
|
|
||
|
|
use Illuminate\Support\Facades\DB;
|
||
|
|
use Illuminate\Support\Facades\Schema;
|
||
|
|
|
||
|
|
it('добавляет client_cpm_rub в ad_settings со значением по умолчанию 120.00', function () {
|
||
|
|
expect(Schema::hasColumn('ad_settings', 'client_cpm_rub'))->toBeTrue();
|
||
|
|
|
||
|
|
$cpm = DB::table('ad_settings')->value('client_cpm_rub');
|
||
|
|
expect((string) $cpm)->toBe('120.00');
|
||
|
|
});
|