dev: passing tests
This commit is contained in:
1 parent
afaaee42be
commit
9464eea4d3
2 files changed
+10
-1
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user