mirror of
https://github.com/macintoshplus/yaml-migrations.git
synced 2026-03-24 00:42:18 +01:00
22 lines
382 B
PHP
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));
|
|
}
|
|
}
|