updated-packages
This commit is contained in:
@@ -32,10 +32,11 @@ class FieldFactoryTest extends TestCase
|
||||
|
||||
/**
|
||||
* @covers \Cron\FieldFactory::getField
|
||||
* @expectedException InvalidArgumentException
|
||||
*/
|
||||
public function testValidatesFieldPosition()
|
||||
{
|
||||
$this->expectException(\InvalidArgumentException::class);
|
||||
|
||||
$f = new FieldFactory();
|
||||
$f->getField(-1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user