Files
yaml-migrations/tests/listingTest.php
2020-12-05 15:30:37 +01:00

22 lines
382 B
PHP

<?php
declare(strict_types=1);
namespace YamlMigrate\Tests;
use PHPUnit\Framework\TestCase;
use YamlMigrate\Migrate;
class listingTest extends TestCase
{
public function testGetListingAmount(): void
{
$migrate = new Migrate('config.yaml');
$migrate->setSilent(true);
$res = $migrate->list();
$this->assertSame(5, \count($res));
}
}