Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/router' of github.com:DASPRiD/zf2 into feature/…
Browse files Browse the repository at this point in the history
…router
DASPRiD committed Oct 29, 2011

Verified

This commit was signed with the committer’s verified signature.
Robbepop Robin Freyler
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Configuration.php
Original file line number Diff line number Diff line change
@@ -80,6 +80,7 @@ public function configureDefinition(Di $di, $definition)
$classDefinition->addMethodParameter($methodName, $paramName, $paramInfo);
}
}
break;
default:
$methodName = $classDefKey;
$methodInfo = $classDefData;
1 change: 1 addition & 0 deletions test/ConfigurationTest.php
Original file line number Diff line number Diff line change
@@ -118,6 +118,7 @@ public function testCanSetInstantiatorToStaticFactory()
$this->assertEquals($dummyParams->params['param1'], 'hello');
$this->assertEquals($dummyParams->params['param2'], 'world');
$this->assertEquals($dummyParams->params['foo'], 'bar');
$this->assertArrayNotHasKey('methods', $di->definitions()->hasMethods('ZendTest\Di\TestAsset\StaticFactory'));
}

}

0 comments on commit 08a171a

Please sign in to comment.