Skip to content

Commit

Permalink
Fix Error reporting and parsing (fixes publiclab#1852) (publiclab#1857)
Browse files Browse the repository at this point in the history
* Fix Error reporting and parsing (fixes publiclab#1852)

* Remove fraudlent failure

* Update .travis.yml
  • Loading branch information
ryzokuken authored and jywarren committed Dec 11, 2017
1 parent 3412e06 commit 714df73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ install:

script:
- docker-compose run -e CI=TRUE web bash -c "GENERATE_REPORT=true rake test:all"
- mkdir -p ./test/reports
- touch ./test/reports/TEST_.xml
- echo -e '<?xml version="1.0" encoding="UTF-8"?>' > output.xml
- tail -n +2 -q ./test/reports/TEST*.xml >> output.xml
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then danger --verbose; fi'
5 changes: 3 additions & 2 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,16 @@
require 'i18n'

require "minitest/reporters"
Minitest::Reporters.use!
MiniTest::Reporters.use! [MiniTest::Reporters::DefaultReporter.new,
MiniTest::Reporters::JUnitReporter.new]

class ActiveSupport::TestCase
# Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
#
# Note: You'll currently still have to declare fixtures explicitly in integration tests
# -- they do not yet inherit this setting

# These can be replaced in Rails 5 with this syntax, in the fixture files:
# These can be replaced in Rails 5 with this syntax, in the fixture files:
# https://github.com/rails/rails/commit/2acec4657752d441ab87b9f5862d7918843d6409#diff-1ed2907b3b8f148c2533558a77673ffaR3
# _fixture:
# model_class: 'DrupalUser'
Expand Down

0 comments on commit 714df73

Please sign in to comment.