1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-09-19 16:38:51 +02:00

[Wilds] Fix the last set of failing non-linter test cases

Summary: Ref T13098. Everything except the linter test cases now passes.

Test Plan: Ran `arc unit`, got fewer test failures.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13098

Differential Revision: https://secure.phabricator.com/D19715
This commit is contained in:
epriestley 2018-09-27 11:05:55 -07:00
parent a3e29773df
commit 22cf774ae1

View file

@ -34,11 +34,9 @@ final class ArcanistRepositoryAPIStateTestCase extends PhutilTestCase {
$fixture = PhutilDirectoryFixture::newFromArchive($dir.'/'.$test);
$fixture_path = $fixture->getPath();
$working_copy = ArcanistWorkingCopyIdentity::newFromPath($fixture_path);
$configuration_manager = new ArcanistConfigurationManager();
$configuration_manager->setWorkingCopyIdentity($working_copy);
$api = ArcanistRepositoryAPI::newAPIFromConfigurationManager(
$configuration_manager);
$working_copy = ArcanistWorkingCopy::newFromWorkingDirectory($fixture_path);
$api = $working_copy->newRepositoryAPI();
$api->setBaseCommitArgumentRules('arc:this');