Skip to content

Commit

Permalink
Merge pull request #7287 from brave/remove_policy_path_override_test
Browse files Browse the repository at this point in the history
Removed BraveMainDelegateBrowserTest.PathOverride
  • Loading branch information
simonhong authored Dec 1, 2020
2 parents 9e1df50 + 0906488 commit 2cf3be6
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions app/brave_main_delegate_browsertest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "base/path_service.h"
#include "chrome/browser/domain_reliability/service_factory.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/browser/ui/ui_features.h"
#include "chrome/common/chrome_features.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "components/autofill/core/common/autofill_features.h"
Expand Down Expand Up @@ -98,13 +96,3 @@ IN_PROC_BROWSER_TEST_F(BraveMainDelegateBrowserTest, EnabledFeatures) {
for (const auto* feature : enabled_features)
EXPECT_TRUE(base::FeatureList::IsEnabled(*feature));
}

IN_PROC_BROWSER_TEST_F(BraveMainDelegateBrowserTest, PathOverride) {
#if defined(OS_POSIX) && !defined(OS_MAC)
base::FilePath policy_files_path;
EXPECT_TRUE(base::PathService::Get(chrome::DIR_POLICY_FILES,
&policy_files_path));
EXPECT_EQ(base::FilePath(FILE_PATH_LITERAL("/etc/brave/policies")),
policy_files_path);
#endif
}

0 comments on commit 2cf3be6

Please sign in to comment.