mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +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 = $this->all();
|
||||||
|
|
||||||
|
$input['settings'] = new \stdClass;
|
||||||
|
|
||||||
$this->replace($input);
|
$this->replace($input);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -24,14 +24,15 @@ class ClientModelTest extends TestCase
|
|||||||
|
|
||||||
$this->makeTestData();
|
$this->makeTestData();
|
||||||
|
|
||||||
|
if(config('ninja.testvars.travis') == FALSE)
|
||||||
|
$this->markTestSkipped('Skip test for Travis');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public function testPaymentMethods()
|
public function testPaymentMethods()
|
||||||
{
|
{
|
||||||
|
|
||||||
if(config('ninja.testvars.travis'))
|
|
||||||
$this->markTestSkipped('Skip test for Travis');
|
|
||||||
|
|
||||||
$amount = 40;
|
$amount = 40;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user