dev: passing tests

This commit is contained in:
mahdi msr committed 2025-09-29 03:35:49 +03:30
1 parent afaaee42be
commit 9464eea4d3
2 files changed
+10 -1

No files matched your search

+9
View File
@@ -2,6 +2,15 @@
use Msr\LaravelBitunixApi\Requests\ChangeLeverageRequestContract;
beforeEach(function () {
config([
'bitunix-api.future_base_uri' => 'https://fapi.bitunix.com/',
'bitunix-api.api_key' => 'test-api-key',
'bitunix-api.api_secret' => 'test-secret-key',
'bitunix-api.language' => 'en-US',
]);
});
it('can change leverage successfully', function () {
$api = app(ChangeLeverageRequestContract::class);
// This test will make a real API call if credentials are valid