update
This commit is contained in:
@@ -15,6 +15,7 @@ use App\Models\Service;
|
||||
use App\Repositories\Api\Order\OrderRepository;
|
||||
use App\Services\InvoiceReminderService;
|
||||
use Illuminate\Foundation\Testing\RefreshDatabase;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Facades\Queue;
|
||||
use Tests\TestCase;
|
||||
|
||||
@@ -31,6 +32,7 @@ class PostWhmcsSyncSafetyTest extends TestCase
|
||||
parent::setUp();
|
||||
Queue::fake();
|
||||
config(['billing.reminder_offsets' => [-7, -3, 0, 3, 7]]);
|
||||
DB::table('setting')->updateOrInsert(['key' => 'email_settings'], ['value' => json_encode(['auto_disabled' => []])]);
|
||||
}
|
||||
|
||||
/** Hoá đơn quá hạn nhiều năm KHÔNG được mở lại chuỗi nhắc nợ. */
|
||||
|
||||
Reference in New Issue
Block a user