Move current unit tests to integration tests
This commit is contained in:
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
namespace MailPoet\Cron\Workers\KeyCheck;
|
||||
|
||||
if(!defined('ABSPATH')) exit;
|
||||
|
||||
class KeyCheckWorkerMockImplementation extends KeyCheckWorker {
|
||||
const TASK_TYPE = 'mock_key_check_worker';
|
||||
|
||||
function checkKey() {
|
||||
return array('code' => 12345); // bogus code
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user