make all test pass

updated seeder to be informative
fix seeder error on test
This commit is contained in:
Jack Goh
2018-08-01 15:30:19 +08:00
parent f197f856de
commit 5df307a165
13 changed files with 99 additions and 73 deletions
+2 -2
View File
@@ -26,12 +26,12 @@ class SettingCreditTest extends TestCase
public function testStore(){
$this->actingAs($this->user)
->postJson('/api/setting-credit/', [
->putJson('/api/setting-credit/', [
'rmb_credit_limit' => '5000',
'usd_credit_limit' => '2000',
'time_limit' => '500'
])
->assertStatus(201);
->assertStatus(200);
}
}