1
0
mirror of https://github.com/flarum/core.git synced 2025-08-19 23:01:56 +02:00

Removed phpsec as the testing library, added phpunit and converted the first spec test to phpunit format. Also added mockery.

This commit is contained in:
kirkbushell
2015-09-28 15:09:13 +01:00
parent 538a3e5e98
commit 7706714ad9
7 changed files with 719 additions and 77 deletions

View File

@@ -33,22 +33,24 @@
"dflydev/fig-cookies": "^1.0",
"symfony/console": "^2.7",
"symfony/yaml": "^2.7",
"doctrine/dbal": "^2.5"
"doctrine/dbal": "^2.5",
"mockery/mockery": "^0.9.4"
},
"require-dev": {
"squizlabs/php_codesniffer": "2.*",
"phpspec/phpspec": "^2.2"
"phpunit/phpunit": "^4.8"
},
"autoload": {
"psr-4": {
"Flarum\\": "src/"
"Flarum\\": "src/",
"tests\\": "tests/"
},
"files": [
"src/helpers.php"
]
},
"scripts": {
"test": "phpspec run",
"test": "vendor/bin/phpunit -c tests/phpunit.xml",
"style": "phpcs --standard=PSR2 -np src"
}
}