Skip to content

Commit

Permalink
lint a random file (#3836)
Browse files Browse the repository at this point in the history
  • Loading branch information
osc-bot authored Oct 1, 2024
1 parent a5d0a0e commit b368bf4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/dashboard/test/system/preset_apps_pinned_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@
# Pinned apps that _have_ to be stubbed in setup. If these files were combined,
# you wouldn't be able to tell what's the navbar entry and which is the pinned app
class PresetAppsPinnedTest < ApplicationSystemTestCase

def setup
OodAppkit.stubs(:clusters).returns(OodCore::Clusters.load_file('test/fixtures/config/clusters.d'))
SysRouter.stubs(:base_path).returns(Rails.root.join('test/fixtures/apps'))
stub_user_configuration({ pinned_apps: ['sys/preset_app/*']})
stub_user_configuration({ pinned_apps: ['sys/preset_app/*'] })
BatchConnect::Session.any_instance.stubs(:stage).raises(StandardError.new(err_msg))
Router.instance_variable_set('@pinned_apps', nil)
end
Expand Down

0 comments on commit b368bf4

Please sign in to comment.