diff --git a/apps/dashboard/test/models/user_configuration_test.rb b/apps/dashboard/test/models/user_configuration_test.rb index 692acd8f78..c9ece5153b 100644 --- a/apps/dashboard/test/models/user_configuration_test.rb +++ b/apps/dashboard/test/models/user_configuration_test.rb @@ -71,7 +71,6 @@ def teardown pinned_apps_group_by: nil, show_all_apps_link: false, - filter_nav_categories?: false, nav_categories: ["Apps", "Files", "Jobs", "Clusters", "Interactive Apps"], nav_bar: [], help_bar: [], @@ -172,16 +171,6 @@ def teardown assert_equal [Pathname.new("/array/path/1"), Pathname.new("/array/path/2")], target.announcement_path end - test "filter_nav_categories? should return true when categories is set in config" do - Configuration.stubs(:config).returns({nav_categories: []}) - assert_equal true, UserConfiguration.new.filter_nav_categories? - end - - test "filter_nav_categories? should return default value false when categories is not set in config" do - Configuration.stubs(:config).returns({}) - assert_equal false, UserConfiguration.new.filter_nav_categories? - end - test "create_service_class returns SupportTicketEmailService when email configuration object defined" do Configuration.stubs(:config).returns({support_ticket: {email: {}}}) service = UserConfiguration.new.support_ticket_service