Skip to content

Commit

Permalink
Fixture cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermeindl committed Dec 10, 2024
1 parent bac3f22 commit e50b5a8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 18 deletions.
6 changes: 1 addition & 5 deletions test/functional/hedgedocs_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@
require File.expand_path '../test_helper', __dir__

class HedgedocsControllerTest < RedmineHedgedoc::ControllerTest
fixtures :projects,
:users, :email_addresses, :user_preferences,
:roles,
:members,
:member_roles
fixtures :all

def setup
prepare_tests
Expand Down
14 changes: 1 addition & 13 deletions test/functional/settings_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,7 @@
require File.expand_path '../test_helper', __dir__

class SettingsControllerTestt < RedmineHedgedoc::ControllerTest
fixtures :projects,
:users,
:roles,
:members,
:member_roles,
:enabled_modules,
:enumerations,
:attachments,
:custom_fields,
:custom_values,
:journals,
:journal_details,
:queries
fixtures :all

def setup
@controller = SettingsController.new
Expand Down
1 change: 1 addition & 0 deletions test/unit/i18n_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

class I18nTest < RedmineHedgedoc::TestCase
include Redmine::I18n
fixtures :all

def setup
User.current = nil
Expand Down

0 comments on commit e50b5a8

Please sign in to comment.