do not include running entries in invoices (#2551)

This commit is contained in:
Kevin Papst
2021-05-04 12:29:20 +02:00
committed by GitHub
parent dad1b8b772
commit 4fcd97b142
3 changed files with 10 additions and 3 deletions

View File

@@ -30,7 +30,11 @@ class InvoiceQueryTest extends TimesheetQueryTest
$this->assertCustomer($sut);
$this->assertProject($sut);
$this->assertActivity($sut);
$this->assertState($sut);
self::assertEquals(InvoiceQuery::STATE_STOPPED, $sut->getState());
self::assertFalse($sut->isRunning());
self::assertTrue($sut->isStopped());
$this->assertExported($sut);
$this->assertMarkAsExported($sut);
$this->assertModifiedAfter($sut);