1
0
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:
David Bomba 2019-10-07 17:43:19 +11:00
parent 972bedeecb
commit 264d6662e3
2 changed files with 5 additions and 2 deletions

View File

@ -63,6 +63,8 @@ class StoreClientRequest extends Request
{
$input = $this->all();
$input['settings'] = new \stdClass;
$this->replace($input);
}

View File

@ -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;