ad802cfead
commit 7ec9bec089408d5ec5e195b851b94568bee44627 Author: snipe <snipe@snipe.net> Date: Wed Aug 12 14:43:11 2015 -0700 Additional notes commit 6c9d4c1b782c65f496828b289296304cdd75e01a Author: snipe <snipe@snipe.net> Date: Wed Aug 12 14:36:28 2015 -0700 Deleted unused unit test commit 9b1f0a8096c156927adf6cc8dad1df253b79707b Author: snipe <snipe@snipe.net> Date: Wed Aug 12 14:36:21 2015 -0700 Switching back to require from require_once commit 15db5e126d219e23180481d4559a7fd5e5d7e0d2 Author: snipe <snipe@snipe.net> Date: Wed Aug 12 14:32:26 2015 -0700 Commenting out the unit test for user because it's throwing hasher errors. Need to come back to this. This test is used when you call straight phpunit. commit bc224f48e326babb4cd12296217e7665286102e9 Author: snipe <snipe@snipe.net> Date: Wed Aug 12 14:29:31 2015 -0700 Fuckit. phpunit it is. commit e42801e436e3108e4db6ce38bec91be1ad8643f5 Author: snipe <snipe@snipe.net> Date: Wed Aug 12 14:26:24 2015 -0700 This will probably just trigger that damned curl error again :( commit 8ad56fe92d6d86d78d8690a7a43ca17ea1ea6134 Author: snipe <snipe@snipe.net> Date: Wed Aug 12 14:18:27 2015 -0700 Removed phpbrowser commit b72fc14cf4675523e7db9827602a9e6fbb1f1cfb Author: snipe <snipe@snipe.net> Date: Wed Aug 12 13:40:10 2015 -0700 I don't know why route filters aren't working in the laravel module commit 3226c687ac6538fd838710b601ba20a97bb23cb4 Author: snipe <snipe@snipe.net> Date: Wed Aug 12 13:31:35 2015 -0700 Require once in start? commit 1cea92c4414689be7b411826ed4ce4e2b1768e61 Author: snipe <snipe@snipe.net> Date: Wed Aug 12 13:16:32 2015 -0700 Trying require_once commit c8b9a2853cbb8bd65685c51b93fabccb15069b1a Author: snipe <snipe@snipe.net> Date: Wed Aug 12 13:13:35 2015 -0700 Poking and hoping commit e906d4daba8eb12be8b615dfadcedc3ea19eb58f Author: snipe <snipe@snipe.net> Date: Wed Aug 12 13:10:50 2015 -0700 I cannot imagine that this will help, but whatever commit 279be63f5a0c90278f961fde7228edddd65db612 Author: snipe <snipe@snipe.net> Date: Wed Aug 12 12:53:11 2015 -0700 Removing the laravel module returns the curl host error commit ce3a2fc074fd597ebd274ad42925bcaebcd25ea4 Author: snipe <snipe@snipe.net> Date: Wed Aug 12 12:51:25 2015 -0700 Pulling laravel just to see commit bd27268539b377d03031485e4e2c133ab02b4a1f Author: snipe <snipe@snipe.net> Date: Wed Aug 12 12:50:02 2015 -0700 Turn off email notifications commit 73d6f5cc6a2a5721acf686ad6a434a06cddcea38 Author: snipe <snipe@snipe.net> Date: Wed Aug 12 12:49:14 2015 -0700 Reverting the revert commit 51a2f8f40e1b0240af2778076b21beb518b8909d Author: snipe <snipe@snipe.net> Date: Wed Aug 12 12:47:07 2015 -0700 Reverting commit aa36aff57fe734b0accd71eefe9b2f6b50b1f169 Author: snipe <snipe@snipe.net> Date: Wed Aug 12 12:45:16 2015 -0700 sigh. commit a7241c0cf6b050768379e9b36c53584c29e1268a Author: snipe <snipe@snipe.net> Date: Wed Aug 12 12:38:14 2015 -0700 Trying gitter again commit22b3190e0aAuthor: snipe <snipe@snipe.net> Date: Wed Aug 12 12:31:16 2015 -0700 Missing a fucking semicolon commit637e4f03f3Author: snipe <snipe@snipe.net> Date: Wed Aug 12 12:26:23 2015 -0700 Trying to fix parsefloat error commit70e086fb3dAuthor: snipe <snipe@snipe.net> Date: Wed Aug 12 12:22:51 2015 -0700 Removed gitter commit65e6b1ad43Author: snipe <snipe@snipe.net> Date: Wed Aug 12 12:12:38 2015 -0700 Removed extra comments, added route filter back in commitc18e8747dfAuthor: snipe <snipe@snipe.net> Date: Wed Aug 12 12:07:58 2015 -0700 Removing sudo from codecept commit2c9c2fb2d6Author: snipe <snipe@snipe.net> Date: Wed Aug 12 12:06:18 2015 -0700 Comment out ping debugging commit6eb57e43dcAuthor: snipe <snipe@snipe.net> Date: Wed Aug 12 12:04:23 2015 -0700 Don't require sudo commit0c13c9e7bcAuthor: snipe <snipe@snipe.net> Date: Wed Aug 12 11:58:16 2015 -0700 Use the Laravel 4 options instead of bootstrap commit8a3c672a82Author: snipe <snipe@snipe.net> Date: Wed Aug 12 11:51:30 2015 -0700 Remove -vvv and -d for codeception commitbd1e3cbc2aAuthor: snipe <snipe@snipe.net> Date: Wed Aug 12 11:50:12 2015 -0700 Add gitter integration commit4eae1eb447Author: snipe <snipe@snipe.net> Date: Wed Aug 12 11:46:34 2015 -0700 Try setting the hostname again and see if that fails commit01a6fbe19dMerge:8cdd44ef357e71Author: snipe <snipe@snipe.net> Date: Tue Aug 11 23:08:40 2015 -0700 Merge branch 'travic-ci-misery' of github.com:snipe/snipe-it into travic-ci-misery commit8cdd44e650Author: snipe <snipe@snipe.net> Date: Tue Aug 11 23:08:34 2015 -0700 Output dir commitf357e71e20Author: Brady Wetherington <uberbrady@gmail.com> Date: Tue Aug 11 22:54:32 2015 -0700 blech commitdb2552ac2fAuthor: Brady Wetherington <uberbrady@gmail.com> Date: Tue Aug 11 22:32:59 2015 -0700 blech commit9a3d2c5130Author: Brady Wetherington <uberbrady@gmail.com> Date: Tue Aug 11 22:29:52 2015 -0700 wat commitdd7864ac54Author: Brady Wetherington <uberbrady@gmail.com> Date: Tue Aug 11 22:24:08 2015 -0700 blech commit754aa2d0d8Merge:0ec8c87d6d685cAuthor: snipe <snipe@snipe.net> Date: Tue Aug 11 22:19:14 2015 -0700 Merge branch 'travic-ci-misery' of github.com:snipe/snipe-it into travic-ci-misery commit0ec8c87e8aAuthor: snipe <snipe@snipe.net> Date: Tue Aug 11 22:18:36 2015 -0700 Slightly improved scenario description commitd6d685c15eAuthor: Brady Wetherington <uberbrady@gmail.com> Date: Tue Aug 11 22:15:32 2015 -0700 blech commit58ac3b3fa4Author: Brady Wetherington <uberbrady@gmail.com> Date: Tue Aug 11 22:10:00 2015 -0700 blech commit89844a4017Author: Brady Wetherington <uberbrady@gmail.com> Date: Tue Aug 11 22:05:13 2015 -0700 blech commit4ccf1a513fAuthor: Brady Wetherington <uberbrady@gmail.com> Date: Tue Aug 11 22:02:07 2015 -0700 blech commit6ca0f6bdc4Author: Brady Wetherington <uberbrady@gmail.com> Date: Tue Aug 11 21:59:45 2015 -0700 blech commit1caa7fe28dAuthor: Brady Wetherington <uberbrady@gmail.com> Date: Tue Aug 11 21:56:45 2015 -0700 yuck commit24f7f3a892Author: Brady Wetherington <uberbrady@gmail.com> Date: Tue Aug 11 21:52:53 2015 -0700 try something else commitf0c83ee253Author: Brady Wetherington <uberbrady@gmail.com> Date: Tue Aug 11 21:47:51 2015 -0700 trying to get phpinfo commit32336e7370Author: snipe <snipe@snipe.net> Date: Tue Aug 11 21:10:05 2015 -0700 Verbose on coceception commitba29a13249Author: snipe <snipe@snipe.net> Date: Tue Aug 11 21:07:52 2015 -0700 Remove codecoverage stuff just in case it's messing things up commit519ed11fc3Author: snipe <snipe@snipe.net> Date: Tue Aug 11 21:03:17 2015 -0700 More poking and hoping commit9949d68341Author: snipe <snipe@snipe.net> Date: Tue Aug 11 20:55:24 2015 -0700 Try forcing test env in codeception.yml commit4726639f85Author: snipe <snipe@snipe.net> Date: Tue Aug 11 20:49:23 2015 -0700 Try switching back to the old instances commitce6e417a02Author: snipe <snipe@snipe.net> Date: Tue Aug 11 20:45:59 2015 -0700 ... commitc3767e25e4Author: snipe <snipe@snipe.net> Date: Tue Aug 11 20:42:32 2015 -0700 Changed hostname for travis commitd059511840Author: snipe <snipe@snipe.net> Date: Tue Aug 11 20:40:05 2015 -0700 Try to echo out the hostname so I can have some idea of WTF is happening
43 lines
859 B
PHP
Executable File
43 lines
859 B
PHP
Executable File
<?php
|
|
|
|
class TestCase extends Illuminate\Foundation\Testing\TestCase
|
|
{
|
|
/**
|
|
* Default preparation for each test
|
|
*
|
|
*/
|
|
public function setUp()
|
|
{
|
|
parent::setUp(); // Don't forget this!
|
|
|
|
$this->prepareForTests();
|
|
}
|
|
|
|
|
|
/**
|
|
* Creates the application.
|
|
*
|
|
* @return Symfony\Component\HttpKernel\HttpKernelInterface
|
|
*/
|
|
public function createApplication()
|
|
{
|
|
$unitTesting = true;
|
|
|
|
$testEnvironment = 'testing';
|
|
|
|
return require __DIR__.'/../../bootstrap/start.php';
|
|
}
|
|
|
|
/**
|
|
* Migrates the database and set the mailer to 'pretend'.
|
|
* This will cause the tests to run quickly.
|
|
*
|
|
*/
|
|
private function prepareForTests()
|
|
{
|
|
Artisan::call('migrate', array('--package' => 'cartalyst/sentry'));
|
|
Artisan::call('migrate');
|
|
}
|
|
|
|
}
|