1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-26 17:56:48 +00:00
pixelfed/tests/Unit/HttpSignatures/KeyStoreTest.php
2018-11-18 20:33:40 -07:00

17 lines
350 B
PHP

<?php
namespace Tests\Unit\HttpSignatures;
use App\Util\HttpSignatures\KeyStore;
class KeyStoreTest extends \PHPUnit\Framework\TestCase
{
/**
* @expectedException App\Util\HttpSignatures\Exception
*/
public function testFetchFail()
{
$ks = new KeyStore(['id' => 'secret']);
$key = $ks->fetch('nope');
}
}