| 1 | <?php |
||
| 2 | /** |
||
| 3 | * Server module for HiPanel |
||
| 4 | * |
||
| 5 | * @link https://github.com/hiqdev/hipanel-module-server |
||
| 6 | * @package hipanel-module-server |
||
| 7 | * @license BSD-3-Clause |
||
| 8 | * @copyright Copyright (c) 2015-2019, HiQDev (http://hiqdev.com/) |
||
| 9 | */ |
||
| 10 | |||
| 11 | namespace hipanel\modules\server\tests\unit\controllers; |
||
| 12 | |||
| 13 | use hipanel\modules\server\controllers\ServerController; |
||
| 14 | |||
| 15 | class ServerControllerTest extends \PHPUnit_Framework_TestCase |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var ServerController |
||
| 19 | */ |
||
| 20 | protected $object; |
||
| 21 | |||
| 22 | protected function setUp(): void |
||
| 23 | { |
||
| 24 | $this->object = new ServerController('test', null); |
||
| 25 | } |
||
| 26 | |||
| 27 | protected function tearDown(): void |
||
| 28 | { |
||
| 29 | } |
||
| 30 | |||
| 31 | public function testActions() |
||
| 32 | { |
||
| 33 | $this->assertInternalType('array', $this->object->actions()); |
||
|
0 ignored issues
–
show
|
|||
| 34 | } |
||
| 35 | } |
||
| 36 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.