-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.php
53 lines (49 loc) · 1.13 KB
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?php
/**
* @author Jared King <j@jaredtking.com>
*
* @link http://jaredtking.com
*
* @copyright 2015 Jared King
* @license MIT
*/
use JAQB\Services\ConnectionManager;
use Pulsar\Driver\DatabaseDriver;
use Pulsar\Services\ErrorStack;
use Pulsar\Services\ModelDriver;
/* This configuration is used to run the tests */
return [
'services' => [
'database' => ConnectionManager::class,
'model_driver' => ModelDriver::class,
],
'models' => [
'driver' => DatabaseDriver::class,
],
'database' => [
'test' => [
'type' => 'mysql',
'user' => 'root',
'password' => '',
'host' => '127.0.0.1',
'name' => 'mydb',
]
],
'cron' => [
[
'module' => 'test',
'command' => 'test',
'expires' => 60,
'successUrl' => 'http://webhook.example.com',
'minute' => 0,
'hour' => 0,
'day' => '*',
'month' => '*',
'week' => '*',
],
[
'module' => 'test',
'command' => 'test2',
],
],
];