mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-19 04:14:04 +00:00
Add seeder and test for setting_credit
This commit is contained in:
@@ -24,10 +24,12 @@ class SettingCreditTest extends TestCase
|
||||
}
|
||||
|
||||
public function testStore(){
|
||||
|
||||
$this->actingAs($this->user)
|
||||
->postJson('/api/setting-credit/', [
|
||||
'rmb_credit_limit' => '5000',
|
||||
'usd_credit_limit' => '2000'
|
||||
'usd_credit_limit' => '2000',
|
||||
'time_limit' => '500'
|
||||
])
|
||||
->assertStatus(201);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user