Working on tests for the Model class
Fixed some bugs, got MySQL setup for Travis.
This commit is contained in:
parent
200988eecf
commit
51467a60f7
9 changed files with 209 additions and 52 deletions
|
@ -44,4 +44,15 @@ function setUpRequest($request, $method = 'GET')
|
|||
$_REQUEST['request'] = $request;
|
||||
}
|
||||
|
||||
function setUpConfig($config)
|
||||
{
|
||||
file_put_contents(
|
||||
SITE_PATH . 'config.php',
|
||||
'<?php $config = ' . var_export($config, true) . '; ?>'
|
||||
);
|
||||
}
|
||||
|
||||
`mysql -e 'TRUNCATE TABLE test.pickles;'`;
|
||||
`echo 'flush_all' | nc localhost 11211`;
|
||||
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue