Skip to content

Commit

Permalink
fixup! Soothe SA
Browse files Browse the repository at this point in the history
  • Loading branch information
koriym committed May 14, 2024
1 parent b84f5a8 commit 6aec3ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/DonutCommandInterceptorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public function testCacheableResponse(): void
$ro = $this->resource->get('page://self/html/blog-posting-cache?id=0');
$interceptors = array_map(static fn (object $object): string => $object::class, $ro->bindings['onGet']); // @phpstan-ignore-line
$this->assertContains(DonutCacheInterceptor::class, $interceptors);
assert(property_exists($ro, 'bindings')); // @phpstan-ignore-line
assert(property_exists($ro, 'bindings'));
assert(isset($ro->bindings['onGet'][0]));
assert(isset($ro->bindings['onDelete'][0]));
$this->assertInstanceOf(DonutCacheInterceptor::class, $ro->bindings['onDelete'][0]);
Expand Down

0 comments on commit 6aec3ca

Please sign in to comment.