Release 2.15 (#4749)
This commit is contained in:
@@ -63,6 +63,7 @@ class InvoiceItemDefaultHydratorTest extends TestCase
|
||||
'entry.end_time',
|
||||
'entry.end_timestamp',
|
||||
'entry.date',
|
||||
'entry.date_process',
|
||||
'entry.week',
|
||||
'entry.weekyear',
|
||||
'entry.user_id',
|
||||
|
||||
@@ -37,6 +37,8 @@ class InvoiceModelActivityHydratorTest extends TestCase
|
||||
'activity.id',
|
||||
'activity.name',
|
||||
'activity.comment',
|
||||
'activity.number',
|
||||
'activity.invoice_text',
|
||||
'activity.meta.foo-activity',
|
||||
'activity.budget_open',
|
||||
'activity.budget_open_plain',
|
||||
@@ -45,6 +47,8 @@ class InvoiceModelActivityHydratorTest extends TestCase
|
||||
'activity.1.id',
|
||||
'activity.1.name',
|
||||
'activity.1.comment',
|
||||
'activity.1.number',
|
||||
'activity.1.invoice_text',
|
||||
'activity.1.meta.foo-activity',
|
||||
'activity.1.budget_open',
|
||||
'activity.1.budget_open_plain',
|
||||
|
||||
@@ -37,6 +37,8 @@ class InvoiceModelProjectHydratorTest extends TestCase
|
||||
'project.id',
|
||||
'project.name',
|
||||
'project.comment',
|
||||
'project.number',
|
||||
'project.invoice_text',
|
||||
'project.order_date',
|
||||
'project.order_number',
|
||||
'project.meta.foo-project',
|
||||
@@ -55,6 +57,8 @@ class InvoiceModelProjectHydratorTest extends TestCase
|
||||
'project.1.id',
|
||||
'project.1.name',
|
||||
'project.1.comment',
|
||||
'project.1.number',
|
||||
'project.1.invoice_text',
|
||||
'project.1.order_date',
|
||||
'project.1.order_number',
|
||||
'project.1.meta.foo-project',
|
||||
|
||||
@@ -152,6 +152,8 @@ class DebugRendererTest extends TestCase
|
||||
'activity.id',
|
||||
'activity.name',
|
||||
'activity.comment',
|
||||
'activity.number',
|
||||
'activity.invoice_text',
|
||||
'activity.meta.foo-activity',
|
||||
'activity.budget_open',
|
||||
'activity.budget_open_plain',
|
||||
@@ -184,6 +186,8 @@ class DebugRendererTest extends TestCase
|
||||
'activity.1.id',
|
||||
'activity.1.name',
|
||||
'activity.1.comment',
|
||||
'activity.1.number',
|
||||
'activity.1.invoice_text',
|
||||
'activity.1.meta.foo-activity',
|
||||
]);
|
||||
}
|
||||
@@ -201,6 +205,8 @@ class DebugRendererTest extends TestCase
|
||||
'project.id',
|
||||
'project.name',
|
||||
'project.comment',
|
||||
'project.number',
|
||||
'project.invoice_text',
|
||||
'project.order_date',
|
||||
'project.order_number',
|
||||
'project.meta.foo-project',
|
||||
@@ -223,6 +229,8 @@ class DebugRendererTest extends TestCase
|
||||
'project.1.id',
|
||||
'project.1.name',
|
||||
'project.1.comment',
|
||||
'project.1.number',
|
||||
'project.1.invoice_text',
|
||||
'project.1.order_date',
|
||||
'project.1.order_number',
|
||||
'project.1.meta.foo-project',
|
||||
@@ -276,6 +284,7 @@ class DebugRendererTest extends TestCase
|
||||
'entry.end_time',
|
||||
'entry.end_timestamp',
|
||||
'entry.date',
|
||||
'entry.date_process',
|
||||
'entry.week',
|
||||
'entry.weekyear',
|
||||
'entry.user_id',
|
||||
|
||||
@@ -116,9 +116,9 @@ class PdfRendererTest extends KernelTestCase
|
||||
|
||||
$dirs = [
|
||||
__DIR__ . '/../../../templates/invoice/renderer/',
|
||||
__DIR__ . '/../../../var/invoices/',
|
||||
__DIR__ . '/../../../var/invoices_customer/',
|
||||
__DIR__ . '/../../../var/invoices_old/',
|
||||
//__DIR__ . '/../../../var/invoices/',
|
||||
//__DIR__ . '/../../../var/invoices_customer/',
|
||||
//__DIR__ . '/../../../var/invoices_old/',
|
||||
];
|
||||
|
||||
$files = [];
|
||||
|
||||
@@ -200,8 +200,8 @@ class ServiceInvoiceTest extends TestCase
|
||||
self::assertNotNull($query->getBegin());
|
||||
self::assertNotNull($query->getEnd());
|
||||
|
||||
self::assertEquals('2010-01-27T00:00:00+0100', $query->getBegin()->format(DATE_ISO8601));
|
||||
self::assertEquals('2020-11-27T23:59:59+0100', $query->getEnd()->format(DATE_ISO8601));
|
||||
self::assertEquals('2010-01-27T00:00:00+01:00', $query->getBegin()->format(DATE_ATOM));
|
||||
self::assertEquals('2020-11-27T23:59:59+01:00', $query->getEnd()->format(DATE_ATOM));
|
||||
}
|
||||
|
||||
public function testCreateModelsIncludesModelsWithNegativeTotal(): void
|
||||
|
||||
Reference in New Issue
Block a user