fix tests

This commit is contained in:
Dennis Eichhorn 2024-03-20 03:00:24 +00:00
parent f71c28f499
commit 8d7dc83058
12 changed files with 37 additions and 37 deletions

View File

@ -8,15 +8,15 @@
}
],
"require-dev": {
"phpunit/phpunit": ">=9.4",
"friendsofphp/php-cs-fixer": ">=3.8",
"squizlabs/php_codesniffer": ">=3.6",
"phpunit/phpunit": ">=11.0",
"friendsofphp/php-cs-fixer": ">=3.51",
"squizlabs/php_codesniffer": ">=3.7",
"phpmd/phpmd": ">=2.9",
"phpstan/phpstan": ">=1.8.6",
"phpstan/phpstan": ">=1.10.62",
"phan/phan": ">=3.2.6",
"phploc/phploc": ">=7.0",
"phpmetrics/phpmetrics": ">=2.8",
"rector/rector": ">=0.18.0"
"rector/rector": ">=1.0.3"
},
"minimum-stability": "dev",
"prefer-stable": true

View File

@ -89,7 +89,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
}
/**
* @covers Modules\Kanban\Controller\ApiController
* @covers \Modules\Kanban\Controller\ApiController
* @group module
*/
public function testApiBoardCU() : void
@ -120,7 +120,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
}
/**
* @covers Modules\Kanban\Controller\ApiController
* @covers \Modules\Kanban\Controller\ApiController
* @group module
*/
public function testCreateColumn() : void
@ -139,7 +139,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
}
/**
* @covers Modules\Kanban\Controller\ApiController
* @covers \Modules\Kanban\Controller\ApiController
* @group module
*/
public function testCreateCard() : void
@ -176,7 +176,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
}
/**
* @covers Modules\Kanban\Controller\ApiController
* @covers \Modules\Kanban\Controller\ApiController
* @group module
*/
public function testApiKanbanBoardCreateInvalidData() : void
@ -192,7 +192,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
}
/**
* @covers Modules\Kanban\Controller\ApiController
* @covers \Modules\Kanban\Controller\ApiController
* @group module
*/
public function testApiKanbanColumnCreateInvalidData() : void
@ -208,7 +208,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
}
/**
* @covers Modules\Kanban\Controller\ApiController
* @covers \Modules\Kanban\Controller\ApiController
* @group module
*/
public function testApiKanbanCardCreateInvalidData() : void

View File

@ -24,7 +24,7 @@ use Modules\Kanban\Models\KanbanBoardMapper;
final class KanbanBoardMapperTest extends \PHPUnit\Framework\TestCase
{
/**
* @covers Modules\Kanban\Models\KanbanBoardMapper
* @covers \Modules\Kanban\Models\KanbanBoardMapper
* @group module
*/
public function testCRUD() : void

View File

@ -34,7 +34,7 @@ final class KanbanBoardTest extends \PHPUnit\Framework\TestCase
}
/**
* @covers Modules\Kanban\Models\KanbanBoard
* @covers \Modules\Kanban\Models\KanbanBoard
* @group module
*/
public function testDefault() : void
@ -49,7 +49,7 @@ final class KanbanBoardTest extends \PHPUnit\Framework\TestCase
}
/**
* @covers Modules\Kanban\Models\KanbanBoard
* @covers \Modules\Kanban\Models\KanbanBoard
* @group module
*/
public function testColumnsInputOutput() : void
@ -59,7 +59,7 @@ final class KanbanBoardTest extends \PHPUnit\Framework\TestCase
}
/**
* @covers Modules\Kanban\Models\KanbanBoard
* @covers \Modules\Kanban\Models\KanbanBoard
* @group module
*/
public function testColumnRemove() : void
@ -71,7 +71,7 @@ final class KanbanBoardTest extends \PHPUnit\Framework\TestCase
}
/**
* @covers Modules\Kanban\Models\KanbanBoard
* @covers \Modules\Kanban\Models\KanbanBoard
* @group module
*/
public function testSerialize() : void

View File

@ -25,7 +25,7 @@ final class KanbanCardCommentMapperTest extends \PHPUnit\Framework\TestCase
{
/**
* @depends Modules\Kanban\tests\Models\KanbanCardMapperTest::testCRUD
* @covers Modules\Kanban\Models\KanbanCardCommentMapper
* @covers \Modules\Kanban\Models\KanbanCardCommentMapper
* @group module
*/
public function testCRUD() : void

View File

@ -28,7 +28,7 @@ final class KanbanCardMapperTest extends \PHPUnit\Framework\TestCase
{
/**
* @depends Modules\Kanban\tests\Models\KanbanCardMapperTest::testCRUD
* @covers Modules\Kanban\Models\KanbanCardMapper
* @covers \Modules\Kanban\Models\KanbanCardMapper
* @group module
*/
public function testCRUD() : void
@ -62,7 +62,7 @@ final class KanbanCardMapperTest extends \PHPUnit\Framework\TestCase
}
/**
* @covers Modules\Kanban\Models\KanbanCardMapper
* @covers \Modules\Kanban\Models\KanbanCardMapper
* @group module
*/
public function testTaskCard() : void

View File

@ -36,7 +36,7 @@ final class KanbanCardTest extends \PHPUnit\Framework\TestCase
}
/**
* @covers Modules\Kanban\Models\KanbanCard
* @covers \Modules\Kanban\Models\KanbanCard
* @group module
*/
public function testDefault() : void
@ -55,7 +55,7 @@ final class KanbanCardTest extends \PHPUnit\Framework\TestCase
}
/**
* @covers Modules\Kanban\Models\KanbanCard
* @covers \Modules\Kanban\Models\KanbanCard
* @group module
*/
public function testColumnInputOutput() : void
@ -65,7 +65,7 @@ final class KanbanCardTest extends \PHPUnit\Framework\TestCase
}
/**
* @covers Modules\Kanban\Models\KanbanCard
* @covers \Modules\Kanban\Models\KanbanCard
* @group module
*/
public function testCreateFromTask() : void
@ -74,7 +74,7 @@ final class KanbanCardTest extends \PHPUnit\Framework\TestCase
}
/**
* @covers Modules\Kanban\Models\KanbanCard
* @covers \Modules\Kanban\Models\KanbanCard
* @group module
*/
public function testSerialize() : void

View File

@ -24,7 +24,7 @@ final class KanbanColumnMapperTest extends \PHPUnit\Framework\TestCase
{
/**
* @depends Modules\Kanban\tests\Models\KanbanBoardMapperTest::testCRUD
* @covers Modules\Kanban\Models\KanbanColumnMapper
* @covers \Modules\Kanban\Models\KanbanColumnMapper
* @group module
*/
public function testCRUD() : void

View File

@ -33,7 +33,7 @@ final class KanbanColumnTest extends \PHPUnit\Framework\TestCase
}
/**
* @covers Modules\Kanban\Models\KanbanColumn
* @covers \Modules\Kanban\Models\KanbanColumn
* @group module
*/
public function testDefault() : void
@ -46,7 +46,7 @@ final class KanbanColumnTest extends \PHPUnit\Framework\TestCase
}
/**
* @covers Modules\Kanban\Models\KanbanColumn
* @covers \Modules\Kanban\Models\KanbanColumn
* @group module
*/
public function testCardInputOutput() : void
@ -56,7 +56,7 @@ final class KanbanColumnTest extends \PHPUnit\Framework\TestCase
}
/**
* @covers Modules\Kanban\Models\KanbanColumn
* @covers \Modules\Kanban\Models\KanbanColumn
* @group module
*/
public function testCardRemove() : void
@ -69,7 +69,7 @@ final class KanbanColumnTest extends \PHPUnit\Framework\TestCase
}
/**
* @covers Modules\Kanban\Models\KanbanColumn
* @covers \Modules\Kanban\Models\KanbanColumn
* @group module
*/
public function testSerialize() : void

View File

@ -22,7 +22,7 @@ use Modules\Kanban\Models\NullKanbanBoard;
final class NullKanbanBoardTest extends \PHPUnit\Framework\TestCase
{
/**
* @covers Modules\Kanban\Models\NullKanbanBoard
* @covers \Modules\Kanban\Models\NullKanbanBoard
* @group module
*/
public function testNull() : void
@ -31,7 +31,7 @@ final class NullKanbanBoardTest extends \PHPUnit\Framework\TestCase
}
/**
* @covers Modules\Kanban\Models\NullKanbanBoard
* @covers \Modules\Kanban\Models\NullKanbanBoard
* @group module
*/
public function testId() : void
@ -41,7 +41,7 @@ final class NullKanbanBoardTest extends \PHPUnit\Framework\TestCase
}
/**
* @covers Modules\Kanban\Models\NullKanbanBoard
* @covers \Modules\Kanban\Models\NullKanbanBoard
* @group module
*/
public function testJsonSerialize() : void

View File

@ -22,7 +22,7 @@ use Modules\Kanban\Models\NullKanbanCard;
final class NullKanbanCardTest extends \PHPUnit\Framework\TestCase
{
/**
* @covers Modules\Kanban\Models\NullKanbanCard
* @covers \Modules\Kanban\Models\NullKanbanCard
* @group module
*/
public function testNull() : void
@ -31,7 +31,7 @@ final class NullKanbanCardTest extends \PHPUnit\Framework\TestCase
}
/**
* @covers Modules\Kanban\Models\NullKanbanCard
* @covers \Modules\Kanban\Models\NullKanbanCard
* @group module
*/
public function testId() : void
@ -41,7 +41,7 @@ final class NullKanbanCardTest extends \PHPUnit\Framework\TestCase
}
/**
* @covers Modules\Kanban\Models\NullKanbanCard
* @covers \Modules\Kanban\Models\NullKanbanCard
* @group module
*/
public function testJsonSerialize() : void

View File

@ -22,7 +22,7 @@ use Modules\Kanban\Models\NullKanbanColumn;
final class NullKanbanColumnTest extends \PHPUnit\Framework\TestCase
{
/**
* @covers Modules\Kanban\Models\NullKanbanColumn
* @covers \Modules\Kanban\Models\NullKanbanColumn
* @group module
*/
public function testNull() : void
@ -31,7 +31,7 @@ final class NullKanbanColumnTest extends \PHPUnit\Framework\TestCase
}
/**
* @covers Modules\Kanban\Models\NullKanbanColumn
* @covers \Modules\Kanban\Models\NullKanbanColumn
* @group module
*/
public function testId() : void
@ -41,7 +41,7 @@ final class NullKanbanColumnTest extends \PHPUnit\Framework\TestCase
}
/**
* @covers Modules\Kanban\Models\NullKanbanColumn
* @covers \Modules\Kanban\Models\NullKanbanColumn
* @group module
*/
public function testJsonSerialize() : void