mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-29 02:11:12 -06:00
Clean up test stuff.
This commit is contained in:
parent
4586c1ef52
commit
b5fc36a8e1
@ -15,12 +15,6 @@ install:
|
|||||||
- mv -v .env.testing .env
|
- mv -v .env.testing .env
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ./tests/_data/db.sh
|
- phpunit
|
||||||
- php vendor/bin/codecept build
|
|
||||||
- php vendor/bin/codecept run --coverage --coverage-xml --no-exit
|
|
||||||
|
|
||||||
after_script:
|
after_script:
|
||||||
- cp -v tests/_output/coverage.xml build/logs/clover.xml
|
|
||||||
- php vendor/bin/coveralls
|
|
||||||
- vendor/bin/test-reporter --stdout > codeclimate.json
|
|
||||||
- "curl -X POST -d @codeclimate.json -H 'Content-Type: application/json' -H 'User-Agent: Code Climate (PHP Test Reporter v0.1.1)' https://codeclimate.com/test_reports"
|
|
@ -51,14 +51,11 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"post-install-cmd": [
|
"post-install-cmd": [
|
||||||
"php artisan clear-compiled",
|
"php artisan clear-compiled",
|
||||||
"php artisan optimize",
|
"php artisan optimize"
|
||||||
"Codeception\\c3\\Installer::copyC3ToRoot"
|
|
||||||
|
|
||||||
],
|
],
|
||||||
"post-update-cmd": [
|
"post-update-cmd": [
|
||||||
"php artisan clear-compiled",
|
"php artisan clear-compiled",
|
||||||
"php artisan optimize",
|
"php artisan optimize"
|
||||||
"Codeception\\c3\\Installer::copyC3ToRoot"
|
|
||||||
],
|
],
|
||||||
"post-create-project-cmd": [
|
"post-create-project-cmd": [
|
||||||
"php -r \"copy('.env.example', '.env');\"",
|
"php -r \"copy('.env.example', '.env');\"",
|
||||||
|
@ -13,9 +13,7 @@ class ExampleTest extends TestCase
|
|||||||
*/
|
*/
|
||||||
public function testBasicExample()
|
public function testBasicExample()
|
||||||
{
|
{
|
||||||
$response = $this->call('GET', '/');
|
$this->assertTrue(true);
|
||||||
|
|
||||||
$this->assertEquals(200, $response->getStatusCode());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user