Add Contracts Subpanel Implementation

This commit is contained in:
j.anderson 2020-12-09 15:23:11 +00:00 committed by Dillon-Brown
parent 6065c9c22a
commit a778e0e504
4 changed files with 245 additions and 40 deletions

View file

@ -0,0 +1,42 @@
<?php
namespace App\Tests\_mock\Mock\core\legacy\Statistics;
use App\Legacy\Statistics\SubPanelContractsRenewalDate;
use App\Tests\_mock\Helpers\core\legacy\Data\DBQueryResultsMocking;
/**
* Class SubPanelContractsRenewalDateMock
* @package Mock\Core\Legacy\Statistics
*/
class SubPanelContractsRenewalDateMock extends SubPanelContractsRenewalDate
{
use DBQueryResultsMocking;
/**
* @inheritDoc
*/
public function getQueries(string $parentModule, string $parentId, string $subpanel): array
{
return [
[
'select' => '',
'where' => '',
'order_by' => '',
],
];
}
/**
* @inheritDoc
*/
public function fetchRow(string $query): array
{
return $this->getMockQueryResults();
}
protected function startLegacyApp(): void
{
}
}