1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-22 09:21:34 +02:00

Fix for tests

This commit is contained in:
Hillel Coren 2016-10-02 12:50:32 +03:00
parent eef7998331
commit eabeeb7b4e

View File

@ -62,7 +62,8 @@ class InvoiceCest
//change po_number with random number //change po_number with random number
$I->amOnPage('/invoices/1/edit'); $I->amOnPage('/invoices/1/edit');
$po_number = rand(100, 300); $I->selectDataPicker($I, '#invoice_date');
$po_number = rand(1, 10000);
$I->fillField('#po_number', $po_number); $I->fillField('#po_number', $po_number);
//save //save