Backports #18993 to QA_5_2. This makes merging QA_5_2 into master easier. Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
41 lines
853 B
PHP
41 lines
853 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace PhpMyAdmin\Tests\Properties\Plugins;
|
|
|
|
use PhpMyAdmin\Properties\Plugins\PluginPropertyItem;
|
|
use PhpMyAdmin\Tests\AbstractTestCase;
|
|
|
|
/**
|
|
* @covers \PhpMyAdmin\Properties\Plugins\PluginPropertyItem
|
|
*/
|
|
class PluginPropertyItemTest extends AbstractTestCase
|
|
{
|
|
/** @var PluginPropertyItem */
|
|
protected $stub;
|
|
|
|
/**
|
|
* Configures global environment.
|
|
*/
|
|
protected function setUp(): void
|
|
{
|
|
parent::setUp();
|
|
$this->stub = $this->getMockForAbstractClass(PluginPropertyItem::class);
|
|
}
|
|
|
|
/**
|
|
* tearDown for test cases
|
|
*/
|
|
protected function tearDown(): void
|
|
{
|
|
parent::tearDown();
|
|
unset($this->stub);
|
|
}
|
|
|
|
public function testGetPropertyType(): void
|
|
{
|
|
self::assertSame('plugin', $this->stub->getPropertyType());
|
|
}
|
|
}
|