Skip to content

Commit b0761da

Browse files
committed
fix unittests that missed some arguments after merging
1 parent ca3cb40 commit b0761da

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/component/ProjectCreationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public function testWithTrait()
142142
public function testInterfaceExtends()
143143
{
144144
$fileName = __DIR__ . '/project/Luigi/Packing.php';
145-
$project = $this->fixture->create([
145+
$project = $this->fixture->create('MyProject', [
146146
$fileName
147147
]);
148148

tests/component/ProjectNamespaceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ protected function setUp()
6464
public function testWithNamespacedClass()
6565
{
6666
$fileName = __DIR__ . '/project/Luigi/Pizza.php';
67-
$project = $this->fixture->create([
67+
$project = $this->fixture->create('My Project', [
6868
$fileName
6969
]);
7070

tests/unit/phpDocumentor/Reflection/Php/ProjectFactoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ private function fetchNamespacesFromMultipleFiles($files)
209209
);
210210

211211
$projectFactory = new ProjectFactory(array($fileStrategyMock));
212-
$project = $projectFactory->create($files);
212+
$project = $projectFactory->create('My Project', $files);
213213

214214
return $project->getNamespaces();
215215
}

0 commit comments

Comments
 (0)