shlink/module/Core/test/Util/ApiKeyHelpersTrait.php
2021-01-10 09:31:51 +01:00

16 lines
296 B
PHP

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