tests: Remove unused composer.json sample data
Follows-up c351c4f06e.
Change-Id: I842690849590f2ee57eb951099b9131728ecb7d7
This commit is contained in:
parent
b9941fd10d
commit
3371e4031c
3 changed files with 4 additions and 83 deletions
|
|
@ -1,20 +1,6 @@
|
|||
{
|
||||
"name": "mediawiki/core",
|
||||
"description": "Free software wiki application developed by the Wikimedia Foundation and others",
|
||||
"keywords": ["mediawiki", "wiki"],
|
||||
"homepage": "https://www.mediawiki.org/",
|
||||
"authors": [
|
||||
{
|
||||
"name": "MediaWiki Community",
|
||||
"homepage": "https://www.mediawiki.org/wiki/Special:Version/Credits"
|
||||
}
|
||||
],
|
||||
"license": "GPL-2.0-only",
|
||||
"support": {
|
||||
"issues": "https://bugzilla.wikimedia.org/",
|
||||
"irc": "irc://irc.libera.chat/mediawiki",
|
||||
"wiki": "https://www.mediawiki.org/"
|
||||
},
|
||||
"name": "example/test",
|
||||
"license": "0BSD",
|
||||
"require": {
|
||||
"leafo/lessphp": "0.5.0",
|
||||
"php": ">=5.3.3",
|
||||
|
|
@ -26,23 +12,7 @@
|
|||
"phpunit/phpunit": "*"
|
||||
},
|
||||
"suggest": {
|
||||
"ext-fileinfo": "*",
|
||||
"ext-mbstring": "*",
|
||||
"ext-wikidiff2": "*",
|
||||
"ext-apc": "*",
|
||||
"monolog/monolog": "*"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-0": {
|
||||
"ComposerHookHandler": "includes/composer"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"pre-update-cmd": "ComposerHookHandler::onPreUpdate",
|
||||
"pre-install-cmd": "ComposerHookHandler::onPreInstall"
|
||||
},
|
||||
"config": {
|
||||
"prepend-autoloader": false,
|
||||
"optimize-autoloader": true
|
||||
"ext-apc": "*"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,48 +0,0 @@
|
|||
{
|
||||
"name": "mediawiki/core",
|
||||
"description": "Free software wiki application developed by the Wikimedia Foundation and others",
|
||||
"keywords": ["mediawiki", "wiki"],
|
||||
"homepage": "https://www.mediawiki.org/",
|
||||
"authors": [
|
||||
{
|
||||
"name": "MediaWiki Community",
|
||||
"homepage": "https://www.mediawiki.org/wiki/Special:Version/Credits"
|
||||
}
|
||||
],
|
||||
"license": "GPL-2.0-only",
|
||||
"support": {
|
||||
"issues": "https://bugzilla.wikimedia.org/",
|
||||
"irc": "irc://irc.libera.chat/mediawiki",
|
||||
"wiki": "https://www.mediawiki.org/"
|
||||
},
|
||||
"require": {
|
||||
"leafo/lessphp": "0.5.0",
|
||||
"php": ">=5.3.3",
|
||||
"psr/log": "1.0.0",
|
||||
"cssjanus/cssjanus": "1.1.1",
|
||||
"wikimedia/cdb": "1.0.1"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "*"
|
||||
},
|
||||
"suggest": {
|
||||
"ext-fileinfo": "*",
|
||||
"ext-mbstring": "*",
|
||||
"ext-wikidiff2": "*",
|
||||
"ext-apc": "*",
|
||||
"monolog/monolog": "*"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-0": {
|
||||
"ComposerHookHandler": "includes/composer"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"pre-update-cmd": "ComposerHookHandler::onPreUpdate",
|
||||
"pre-install-cmd": "ComposerHookHandler::onPreInstall"
|
||||
},
|
||||
"config": {
|
||||
"prepend-autoloader": false,
|
||||
"optimize-autoloader": true
|
||||
}
|
||||
}
|
||||
|
|
@ -2,12 +2,11 @@
|
|||
|
||||
class ComposerJsonTest extends PHPUnit\Framework\TestCase {
|
||||
|
||||
private $json, $json2;
|
||||
private $json;
|
||||
|
||||
protected function setUp() : void {
|
||||
parent::setUp();
|
||||
$this->json = __DIR__ . "/../../../../data/composer/composer.json";
|
||||
$this->json2 = __DIR__ . "/../../../../data/composer/new-composer.json";
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue