fix(order): prevent duplicate refunds and redemptions

Refs #1021
This commit is contained in:
xboard committed 2026-08-30 04:50:34 +08:00
1 parent 9d125527cb
commit 4f48e61a2c
11 files changed
+328 -38

No files matched your search

+1 -2
View File
@@ -6,7 +6,6 @@ use App\Models\Server;
use App\Models\ServerMachine;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Support\Facades\Bus;
use Illuminate\Support\Facades\Cache;
use Tests\TestCase;
class ServerHandshakeTest extends TestCase
@@ -18,7 +17,7 @@ class ServerHandshakeTest extends TestCase
parent::setUp();
config()->set('app.key', 'base64:' . base64_encode(str_repeat('a', 32)));
Cache::forever('admin_settings', [
admin_setting([
'server_token' => 'server-token',
'server_ws_enable' => 0,
]);