mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Fixes for tests:
This commit is contained in:
parent
597abfa584
commit
3539c6b372
@ -74,19 +74,19 @@ class QuoteTest extends TestCase
|
||||
'line_items' =>[
|
||||
[
|
||||
'type_id' => 2,
|
||||
'unit_cost' => 200,
|
||||
'cost' => 200,
|
||||
'quantity' => 2,
|
||||
'notes' => 'Test200',
|
||||
],
|
||||
[
|
||||
'type_id' => 2,
|
||||
'unit_cost' => 100,
|
||||
'cost' => 100,
|
||||
'quantity' => 1,
|
||||
'notes' => 'Test100',
|
||||
],
|
||||
[
|
||||
'type_id' => 1,
|
||||
'unit_cost' => 10,
|
||||
'cost' => 10,
|
||||
'quantity' => 1,
|
||||
'notes' => 'Test',
|
||||
],
|
||||
@ -171,7 +171,7 @@ class QuoteTest extends TestCase
|
||||
|
||||
$project = Project::find($this->decodePrimaryKey($res['data'][0]['project_id']));
|
||||
|
||||
$this->assertEquals($project->name, ctrans('texts.quote_number_short') . " " . $this->quote->number);
|
||||
$this->assertEquals($project->name, ctrans('texts.quote_number_short') . " " . $this->quote->number."[{$this->quote->client->present()->name()}]");
|
||||
}
|
||||
|
||||
public function testQuoteList()
|
||||
|
Loading…
Reference in New Issue
Block a user