1
0
Fork 0

Fix create project test

pull/1309/merge
Jordi Boggiano 2012-11-10 19:42:29 +01:00
parent 5480f7ba26
commit 6d38709fe8
3 changed files with 57 additions and 1 deletions

View File

@ -11,6 +11,18 @@ use Symfony\Component\Finder\Finder;
*/
class AllFunctionalTest extends \PHPUnit_Framework_TestCase
{
protected $oldcwd;
public function setUp()
{
$this->oldcwd = getcwd();
chdir(__DIR__.'/Fixtures/functional');
}
public function tearDown()
{
chdir($this->oldcwd);
}
/**
* @dataProvider getTestFiles
*/

View File

@ -1,4 +1,4 @@
--RUN--
create-project seld/jsonlint %testDir% dev-master
create-project --repository-url=packages.json -v seld/jsonlint %testDir% dev-master
--EXPECT-REGEX--
{^Installing seld/jsonlint \(dev-master [a-f0-9]{40}\)}

View File

@ -0,0 +1,44 @@
[
{
"name": "seld/jsonlint",
"description": "JSON Linter",
"keywords": [
"json",
"parser",
"linter",
"validator"
],
"homepage": "",
"version": "dev-master",
"version_normalized": "9999999-dev",
"license": [
"MIT"
],
"authors": [
{
"name": "Jordi Boggiano",
"email": "j.boggiano@seld.be",
"homepage": "http://seld.be",
"role": "Developer"
}
],
"source": {
"type": "git",
"url": "http://github.com/Seldaek/jsonlint",
"reference": "4451f2066efdc53f3fa954c44a47ead73f6838d2"
},
"type": "library",
"time": "2012-08-13T07:00:11+00:00",
"autoload": {
"psr-0": {
"Seld\\JsonLint": "src/"
}
},
"bin": [
"bin/jsonlint"
],
"require": {
"php": ">=5.3.0"
}
}
]