projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
4533: Skip one-fixture-reset-per-test in a few test classes.
[arvados.git]
/
apps
/
workbench
/
test
/
functional
/
collections_controller_test.rb
diff --git
a/apps/workbench/test/functional/collections_controller_test.rb
b/apps/workbench/test/functional/collections_controller_test.rb
index 6c64ac901cb113564c17f9122453485c0cfeab7d..7c406c28ad5cee3ea6eaf6c729bbb72e9b1ed3bf 100644
(file)
--- a/
apps/workbench/test/functional/collections_controller_test.rb
+++ b/
apps/workbench/test/functional/collections_controller_test.rb
@@
-1,6
+1,11
@@
require 'test_helper'
class CollectionsControllerTest < ActionController::TestCase
require 'test_helper'
class CollectionsControllerTest < ActionController::TestCase
+ # These tests don't do state-changing API calls. Save some time by
+ # skipping the database reset.
+ reset_api_fixtures :after_each_test, false
+ reset_api_fixtures :after_suite, true
+
NONEXISTENT_COLLECTION = "ffffffffffffffffffffffffffffffff+0"
def stub_file_content
NONEXISTENT_COLLECTION = "ffffffffffffffffffffffffffffffff+0"
def stub_file_content