Release 2.7.0 (#4506)
* added api URL for simpler integration * allow to request password change upon next login * make ModifiedAt timesheet independent * improved plugin api * replace kernel calls with AutoconfigureTag and TaggedIterator attributes * new translation keys (e.g. for days) * support setting min and max date on date and daterange pickers
This commit is contained in:
@@ -17,12 +17,11 @@ use PHPUnit\Framework\TestCase;
|
||||
*/
|
||||
class PluginMetadataTest extends TestCase
|
||||
{
|
||||
public function testEmptyObject()
|
||||
public function testNonExistingDirectoryThrowsException(): void
|
||||
{
|
||||
$sut = new PluginMetadata();
|
||||
$this->assertNull($sut->getDescription());
|
||||
$this->assertNull($sut->getHomepage());
|
||||
$this->assertNull($sut->getVersion());
|
||||
$this->assertNull($sut->getKimaiVersion());
|
||||
$this->expectException(\Exception::class);
|
||||
$this->expectExceptionMessage('Bundle "Plugin" does not ship composer.json, which is required since 2.0.');
|
||||
|
||||
new PluginMetadata(__DIR__);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user