Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14089029
D19715.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
932 B
Referenced Files
None
Subscribers
None
D19715.diff
View Options
diff --git a/src/repository/api/__tests__/ArcanistRepositoryAPIStateTestCase.php b/src/repository/api/__tests__/ArcanistRepositoryAPIStateTestCase.php
--- a/src/repository/api/__tests__/ArcanistRepositoryAPIStateTestCase.php
+++ b/src/repository/api/__tests__/ArcanistRepositoryAPIStateTestCase.php
@@ -34,11 +34,9 @@
$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');
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 25, 7:35 AM (20 h, 46 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6785343
Default Alt Text
D19715.diff (932 B)
Attached To
Mode
D19715: [Wilds] Fix the last set of failing non-linter test cases
Attached
Detach File
Event Timeline
Log In to Comment