| 1 | <?php |
||
| 27 | class IntegrationTestCase extends CakeIntegrationTestCase |
||
| 28 | { |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Default plugin. |
||
| 32 | * |
||
| 33 | * @var string |
||
| 34 | */ |
||
| 35 | protected $_plugin = 'Core'; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Default url. |
||
| 39 | * |
||
| 40 | * @var array |
||
| 41 | */ |
||
| 42 | protected $_url = [ |
||
| 43 | 'prefix' => null, |
||
| 44 | 'plugin' => 'Core', |
||
| 45 | 'action' => '', |
||
| 46 | ]; |
||
| 47 | |||
| 48 | /** |
||
| 49 | * Setup the test case, backup the static object values so they can be restored. |
||
| 50 | * Specifically backs up the contents of Configure and paths in App if they have |
||
| 51 | * not already been backed up. |
||
| 52 | * |
||
| 53 | * @return void |
||
| 54 | */ |
||
| 55 | public function setUp() |
||
| 66 | |||
| 67 | /** |
||
| 68 | * Clears the state used for requests. |
||
| 69 | * |
||
| 70 | * @return void |
||
| 71 | */ |
||
| 72 | public function tearDown() |
||
| 78 | |||
| 79 | /** |
||
| 80 | * Prepare url. |
||
| 81 | * |
||
| 82 | * @param array $url |
||
| 83 | * @return array |
||
| 84 | */ |
||
| 85 | protected function _getUrl(array $url = []) |
||
| 89 | } |
||
| 90 |