shlink/module/Core/test/Util/ApiKeyDataProviders.php
2023-06-18 10:51:59 +02:00

16 lines
309 B
PHP

<?php
declare(strict_types=1);
namespace ShlinkioTest\Shlink\Core\Util;
use Shlinkio\Shlink\Rest\Entity\ApiKey;
class ApiKeyDataProviders
{
public static function adminApiKeysProvider(): iterable
{
yield 'no API key' => [null];
yield 'admin API key' => [ApiKey::create()];
}
}