Skip to content

Commit

Permalink
Try to fix covers annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianallgeier committed Dec 5, 2024
1 parent c84b0c6 commit 23e9f76
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/Content/LockExceptionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@

/**
* @coversDefaultClass \Kirby\Content\LockException
* @covers ::__construct
*/
class LockExceptionTest extends TestCase
{
/**
* @covers ::__construct
* @covers ::getCode
* @covers ::getDetails
* @covers ::getHttpCode
* @covers ::getKey
* @covers ::getMessage
*/
public function testException()
Expand All @@ -31,7 +30,7 @@ public function testException()
$this->assertSame('The version is locked', $exception->getMessage());
$this->assertSame($lock->toArray(), $exception->getDetails());
$this->assertSame(423, $exception->getHttpCode());
$this->assertSame('error.lock', $exception->getCode());
$this->assertSame('error.lock', $exception->getKey());
}

/**
Expand Down

0 comments on commit 23e9f76

Please sign in to comment.