mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-01 03:14:47 -04:00
Minor tests for client portal
This commit is contained in:
parent
3f9bea3f91
commit
8255ffc0cf
@ -8,12 +8,6 @@
|
|||||||
|
|
||||||
@section('body')
|
@section('body')
|
||||||
|
|
||||||
@if(!$invoice->isApproved() && $client->getSetting('custom_message_unapproved_quote'))
|
|
||||||
@component('portal.ninja2020.components.message')
|
|
||||||
{{ $client->getSetting('custom_message_unapproved_quote') }}
|
|
||||||
@endcomponent
|
|
||||||
@endif
|
|
||||||
|
|
||||||
@if(!$invoice->isPayable() && $client->getSetting('custom_message_paid_invoice'))
|
@if(!$invoice->isPayable() && $client->getSetting('custom_message_paid_invoice'))
|
||||||
@component('portal.ninja2020.components.message')
|
@component('portal.ninja2020.components.message')
|
||||||
{{ $client->getSetting('custom_message_paid_invoice') }}
|
{{ $client->getSetting('custom_message_paid_invoice') }}
|
||||||
|
@ -23,7 +23,7 @@ use Tests\TestCase;
|
|||||||
class GroupSettingTest extends TestCase
|
class GroupSettingTest extends TestCase
|
||||||
{
|
{
|
||||||
use MakesHash;
|
use MakesHash;
|
||||||
use DatabaseTransactions;
|
//use DatabaseTransactions;
|
||||||
use MockAccountData;
|
use MockAccountData;
|
||||||
|
|
||||||
public function setUp(): void
|
public function setUp(): void
|
||||||
@ -42,7 +42,7 @@ class GroupSettingTest extends TestCase
|
|||||||
public function testAddGroupSettings()
|
public function testAddGroupSettings()
|
||||||
{
|
{
|
||||||
$settings = new \stdClass;
|
$settings = new \stdClass;
|
||||||
$settings->currency_id = 1;
|
$settings->currency_id = '1';
|
||||||
|
|
||||||
$data = [
|
$data = [
|
||||||
'name' => 'testX',
|
'name' => 'testX',
|
||||||
@ -65,7 +65,7 @@ class GroupSettingTest extends TestCase
|
|||||||
public function testArchiveGroupSettings()
|
public function testArchiveGroupSettings()
|
||||||
{
|
{
|
||||||
$settings = new \stdClass;
|
$settings = new \stdClass;
|
||||||
$settings->currency_id = 1;
|
$settings->currency_id = '1';
|
||||||
|
|
||||||
$data = [
|
$data = [
|
||||||
'name' => 'testY',
|
'name' => 'testY',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user