Actions
Patch #43125
closedRemove redundant fixtures declaration from OauthProviderSystemTest
Status:
Closed
Priority:
Normal
Assignee:
Category:
Code cleanup/refactoring
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Description
This patch removes a redundant fixture declaration from the OauthProviderSystemTest
class. The declaration was unnecessary because fixtures :all
is already declared in ActiveSupport::TestCase
.
diff --git a/test/system/oauth_provider_test.rb b/test/system/oauth_provider_test.rb
index 364ed4c944..df3f8fa7ed 100644
--- a/test/system/oauth_provider_test.rb
+++ b/test/system/oauth_provider_test.rb
@@ -6,12 +6,6 @@
require 'puma'
class OauthProviderSystemTest < ApplicationSystemTestCase
- fixtures :projects, :users, :email_addresses, :roles, :members, :member_roles,
- :trackers, :projects_trackers, :enabled_modules, :issue_statuses, :issues,
- :enumerations, :custom_fields, :custom_values, :custom_fields_trackers,
- :watchers, :journals, :journal_details, :versions,
- :workflows
-
test 'application creation and authorization' do
#
# admin creates the application, granting permissions and generating a uuid
I have verfied that all tests incuding system tests pass.
https://github.com/hidakatsuya/redmine/actions/runs/16900512596/job/47878975048
Related issues
Actions