mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-12-28 08:20:56 +01: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:
parent
a3e29773df
commit
22cf774ae1
1 changed files with 3 additions and 5 deletions
|
@ -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');
|
||||
|
||||
|
|
Loading…
Reference in a new issue