Skip to content

Commit

Permalink
[ci] Update migration test to use with_data option.
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Rolfe committed Oct 24, 2017
1 parent f2c305d commit 6c2608a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/script/api_test_in_spec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export RAILS_ENV=development
bundle.ruby2.4 exec rake.ruby2.4 db:create || exit 1
mv db/structure.sql db/structure.sql.git
xzcat test/dump_2.5.sql.xz | mysql -u root --socket=$MYSQL_SOCKET
bundle.ruby2.4 exec rake.ruby2.4 db:migrate db:structure:dump db:drop || exit 1
bundle.ruby2.4 exec rake.ruby2.4 db:migrate:with_data db:structure:dump db:drop || exit 1
./script/compare_structure_sql.sh db/structure.sql.git db/structure.sql || exit 1

# entire test suite
Expand Down

0 comments on commit 6c2608a

Please sign in to comment.