mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-09-04 10:14:13 +08:00
Add CasesPerAccount and CaseAccountDateEntered Statistics
This commit is contained in:
parent
6ffd3dfe5a
commit
06a9cb9742
4 changed files with 332 additions and 0 deletions
|
@ -0,0 +1,37 @@
|
|||
<?php
|
||||
|
||||
namespace Mock\Core\Legacy\Statistics;
|
||||
|
||||
use AcceptanceTester;
|
||||
use App\Legacy\Statistics\CasesPerAccount;
|
||||
use App\Tests\_mock\Helpers\core\legacy\Data\DBQueryResultsMocking;
|
||||
|
||||
class CasesPerAccountMock extends CasesPerAccount
|
||||
{
|
||||
use DBQueryResultsMocking;
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function getQueries(string $parentModule, string $parentId, string $subpanel): array
|
||||
{
|
||||
return [
|
||||
[
|
||||
'select' => '',
|
||||
'where' => '',
|
||||
]
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function fetchRow(string $query): array
|
||||
{
|
||||
return $this->getMockQueryResults();
|
||||
}
|
||||
|
||||
protected function startLegacyApp(): void
|
||||
{
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue