mirror of
https://github.com/opensupports/opensupports.git
synced 2025-07-31 01:35:15 +02:00
Fix APIKey mock
This commit is contained in:
parent
19df5857b3
commit
9ca6632ee9
@ -2,6 +2,10 @@
|
|||||||
include_once 'tests/__mocks__/NullDataStoreMock.php';
|
include_once 'tests/__mocks__/NullDataStoreMock.php';
|
||||||
|
|
||||||
class APIKey extends \Mock {
|
class APIKey extends \Mock {
|
||||||
|
const REGISTRATION = 'REGISTRATION';
|
||||||
|
const TICKET_CREATE = 'TICKET_CREATE';
|
||||||
|
const TYPES = [APIKey::REGISTRATION, APIKey::TICKET_CREATE];
|
||||||
|
|
||||||
public static $functionList = array();
|
public static $functionList = array();
|
||||||
|
|
||||||
public static function initStubs() {
|
public static function initStubs() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user