mirror of
https://github.com/Karaka-Management/oms-Knowledgebase.git
synced 2026-02-05 21:08:40 +00:00
make classes final
This commit is contained in:
parent
855ca04a98
commit
4c6aed91ed
|
|
@ -17,7 +17,7 @@ namespace Modules\Knowledgebase\tests\Admin;
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class AdminTest extends \PHPUnit\Framework\TestCase
|
final class AdminTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected const NAME = 'Knowledgebase';
|
protected const NAME = 'Knowledgebase';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ use phpOMS\Utils\RnG\Text;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class WikiAppMapperTest extends \PHPUnit\Framework\TestCase
|
final class WikiAppMapperTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox The model can be created and read from the database
|
* @testdox The model can be created and read from the database
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ use Modules\Knowledgebase\Models\WikiApp;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class WikiAppTest extends \PHPUnit\Framework\TestCase
|
final class WikiAppTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected WikiApp $app;
|
protected WikiApp $app;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ use phpOMS\Utils\RnG\Text;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class WikiCategoryMapperTest extends \PHPUnit\Framework\TestCase
|
final class WikiCategoryMapperTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected WikiCategory $category;
|
protected WikiCategory $category;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ use Modules\Knowledgebase\Models\WikiCategory;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class WikiCategoryTest extends \PHPUnit\Framework\TestCase
|
final class WikiCategoryTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected WikiCategory $category;
|
protected WikiCategory $category;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ use phpOMS\Utils\RnG\Text;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class WikiDocMapperTest extends \PHPUnit\Framework\TestCase
|
final class WikiDocMapperTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox The model can be created and read from the database
|
* @testdox The model can be created and read from the database
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ use Modules\Tag\Models\NullTag;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class WikiDocTest extends \PHPUnit\Framework\TestCase
|
final class WikiDocTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected WikiDoc $doc;
|
protected WikiDoc $doc;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user