mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-05 18:52:44 +01:00
set blank object for client settings
This commit is contained in:
parent
972bedeecb
commit
264d6662e3
@ -63,6 +63,8 @@ class StoreClientRequest extends Request
|
||||
{
|
||||
$input = $this->all();
|
||||
|
||||
$input['settings'] = new \stdClass;
|
||||
|
||||
$this->replace($input);
|
||||
|
||||
}
|
||||
|
@ -24,14 +24,15 @@ class ClientModelTest extends TestCase
|
||||
|
||||
$this->makeTestData();
|
||||
|
||||
if(config('ninja.testvars.travis') == FALSE)
|
||||
$this->markTestSkipped('Skip test for Travis');
|
||||
}
|
||||
|
||||
|
||||
public function testPaymentMethods()
|
||||
{
|
||||
|
||||
if(config('ninja.testvars.travis'))
|
||||
$this->markTestSkipped('Skip test for Travis');
|
||||
|
||||
|
||||
$amount = 40;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user