From da8a2be62e781d6c3e80e937d626df619d5185ee Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Wed, 5 Oct 2016 13:57:59 +0300 Subject: [PATCH] Fix for tests --- resources/views/header.blade.php | 2 +- resources/views/invoices/edit.blade.php | 2 +- tests/acceptance/InvoiceCest.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/views/header.blade.php b/resources/views/header.blade.php index 8e675a59856e..8bbadd0f1c2b 100644 --- a/resources/views/header.blade.php +++ b/resources/views/header.blade.php @@ -520,7 +520,7 @@ 'expenses', 'vendors', 'settings', - 'self-update' + //'self-update' ] as $option)
  • @if ($option == 'settings') diff --git a/resources/views/invoices/edit.blade.php b/resources/views/invoices/edit.blade.php index 656536650ba5..45f844ef60c4 100644 --- a/resources/views/invoices/edit.blade.php +++ b/resources/views/invoices/edit.blade.php @@ -209,7 +209,7 @@
    @if ($invoice->recurring_invoice) - {!! trans('texts.created_by_invoice', ['invoice' => link_to('/invoices/'.$invoice->recurring_invoice->public_id, trans('texts.recurring_invoice'))]) !!} + {!! trans('texts.created_by_invoice', ['invoice' => link_to('/invoices/'.$invoice->recurring_invoice->public_id, trans('texts.recurring_invoice'), ['id' => 'recurringInvoiceLink'])]) !!} @elseif ($invoice->id) @if (isset($lastSent) && $lastSent) diff --git a/tests/acceptance/InvoiceCest.php b/tests/acceptance/InvoiceCest.php index bdddb5a05722..985ebcfa58ef 100644 --- a/tests/acceptance/InvoiceCest.php +++ b/tests/acceptance/InvoiceCest.php @@ -102,7 +102,7 @@ class InvoiceCest $I->see($clientEmail); $invoiceNumber = $I->grabAttributeFrom('#invoice_number', 'value'); - $I->click('Recurring Invoice'); + $I->click('#recurringInvoiceLink'); $I->see($clientEmail); $I->click('#lastSent');