ConfigurationTest#testGetDefaultSharedDirectory: Don't override mocks

Use the mocked PluginConfigFactory and Config instances defined at class
scope and initialized in the setUp method, rather than defining method
scope instances which override the class scope instances.

Using local instances has no side-effect on stable-2.13, but when this
change is applied on stable-2.14 the test fails due to the fact that
there are other settings mocked in the class scope instances that are
not in the local instance.

Change-Id: Ifb54d7096c51a699531cd954ee8302a31fb8b095
1 file changed
tree: 9f3d56b28c843b765a845f31bb620566cc885ef0
  1. lib/
  2. src/
  3. .buckconfig
  4. .gitignore
  5. .mailmap
  6. BUCK