Skip to content

Commit

Permalink
Replace phpunit annotation with attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Aug 8, 2024
1 parent adc4eb2 commit e480275
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions tests/TestCase/View/Helper/DocBlockHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
use Cake\ORM\Association\HasMany;
use Cake\ORM\Association\HasOne;
use Cake\TestSuite\TestCase;
use PHPUnit\Framework\Attributes\CoversClass;

/**
* DocBlockHelper Test
*
* @coversDefaultClass \Bake\View\Helper\DocBlockHelper
*/
#[CoversClass(DocBlockHelper::class)]
class DocBlockHelperTest extends TestCase
{
/**
Expand Down Expand Up @@ -74,7 +74,6 @@ public function tearDown(): void
* Tests the classDescription method including annotation spacing
*
* @return void
* @covers ::classDescription
*/
public function testClassDescription()
{
Expand All @@ -94,7 +93,6 @@ public function testClassDescription()
* Tests the associatedEntityTypeToHintType method
*
* @return void
* @covers ::associatedEntityTypeToHintType
*/
public function testAssociatedEntityTypeToHintType()
{
Expand Down Expand Up @@ -198,8 +196,6 @@ public function testBuildEntityPropertyHintTypeMap()
* Tests the buildEntityAssociationHintTypeMap method
*
* @return void
* @covers ::buildEntityAssociationHintTypeMap
* @covers ::_insertAfter
*/
public function testBuildEntityAssociationHintTypeMap()
{
Expand All @@ -210,7 +206,6 @@ public function testBuildEntityAssociationHintTypeMap()
* Tests the columnTypeToHintType method
*
* @return void
* @covers ::columnTypeToHintType
*/
public function testColumnTypeToHintType()
{
Expand All @@ -221,7 +216,6 @@ public function testColumnTypeToHintType()
* Tests the propertyHints method
*
* @return void
* @covers ::propertyHints
*/
public function testPropertyHints()
{
Expand All @@ -232,7 +226,6 @@ public function testPropertyHints()
* Tests the buildTableAnnotations method
*
* @return void
* @covers ::buildTableAnnotations
*/
public function testBuildTableAnnotations()
{
Expand Down

0 comments on commit e480275

Please sign in to comment.