test InitExt / DatabaseUpgrade

This commit is contained in:
Shish 2020-03-26 19:06:30 +00:00
parent 861ee946a9
commit b0c5043892

17
core/tests/init.test.php Normal file
View File

@ -0,0 +1,17 @@
<?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class TestInit extends TestCase {
public function testInitExt()
{
send_event(new InitExtEvent());
$this->assertTrue(true);
}
public function testDatabaseUpgrade()
{
send_event(new DatabaseUpgradeEvent());
$this->assertTrue(true);
}
}