rounding rules via admin screen, round begin when starting record (#1229)
This commit is contained in:
@@ -24,12 +24,4 @@ class TimesheetSubscriberTest extends TestCase
|
||||
$events = $sut->getSubscribedEvents();
|
||||
$this->assertTrue(in_array(Events::onFlush, $events));
|
||||
}
|
||||
|
||||
public function testConstructThrowsExceptionOnInvalidParam()
|
||||
{
|
||||
$this->expectException(\InvalidArgumentException::class);
|
||||
$this->expectExceptionMessage('Invalid TimesheetCalculator implementation given. Expected CalculatorInterface but received stdClass');
|
||||
|
||||
new TimesheetSubscriber([new \stdClass()]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user