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:
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user