Skip to content

Commit

Permalink
Update FeedGeneratorTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
puklipo committed Dec 2, 2024
1 parent be293c4 commit 0303eea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Feature/FeedGenerator/FeedGeneratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use Mdanter\Ecc\EccFactory;
use Mdanter\Ecc\Serializer\PublicKey\DerPublicKeySerializer;
use Mdanter\Ecc\Serializer\PublicKey\PemPublicKeySerializer;
use PHPUnit\Framework\Attributes\RequiresMethod;
use Revolution\Bluesky\Crypto\DidKey;
use Revolution\Bluesky\Facades\Bluesky;
use Revolution\Bluesky\FeedGenerator\FeedGenerator;
Expand Down Expand Up @@ -103,6 +104,7 @@ public function test_validate_auth_using()
$response->assertJson(['feed' => [['post' => 'at://']]]);
}

#[RequiresMethod(PemPublicKeySerializer::class, 'parse')]
public function test_feed_validate_auth(): void
{
FeedGenerator::register('test', function (?int $limit, ?string $cursor, ?string $user): array {
Expand Down

0 comments on commit 0303eea

Please sign in to comment.