Fixed URL required for mocking X-On-Behalf-Of header.

This commit is contained in:
Thorsten Eckel 2018-05-03 10:09:53 +02:00
parent b48a8c9b42
commit 8f07ac70f4

View file

@ -409,7 +409,7 @@ test:browser:integration:api_client_ruby:
- git clone git@github.com:zammad/zammad-api-client-ruby.git || script/build/test_shutdown.sh $RAILS_ENV $BROWSER_PORT $WS_PORT 1 1 - git clone git@github.com:zammad/zammad-api-client-ruby.git || script/build/test_shutdown.sh $RAILS_ENV $BROWSER_PORT $WS_PORT 1 1
- cd zammad-api-client-ruby - cd zammad-api-client-ruby
- bundle install --jobs 8 - bundle install --jobs 8
- export TEST_URL=http://$IP:$BROWSER_PORT - export TEST_URL=http://$IP:$BROWSER_PORT/
- rspec || (cd .. && script/build/test_shutdown.sh $RAILS_ENV $BROWSER_PORT $WS_PORT 1 1) - rspec || (cd .. && script/build/test_shutdown.sh $RAILS_ENV $BROWSER_PORT $WS_PORT 1 1)
- cd .. && script/build/test_shutdown.sh $RAILS_ENV $BROWSER_PORT $WS_PORT 0 1 - cd .. && script/build/test_shutdown.sh $RAILS_ENV $BROWSER_PORT $WS_PORT 0 1