mirror of
https://github.com/doctrine/doctrine-website.git
synced 2026-03-23 22:32:11 +01:00
22 lines
539 B
PHP
22 lines
539 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Doctrine\Website\Tests\Projects;
|
|
|
|
use Doctrine\Website\Projects\ProjectDataRepository;
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
class ProjectDataRepositoryTest extends TestCase
|
|
{
|
|
public function testGetProjectRepositoryNames(): void
|
|
{
|
|
$projectDataRepository = new ProjectDataRepository([
|
|
['repositoryName' => 'orm'],
|
|
['repositoryName' => 'dbal'],
|
|
]);
|
|
|
|
self::assertSame(['orm', 'dbal'], $projectDataRepository->getProjectRepositoryNames());
|
|
}
|
|
}
|