Fixed autoloading for tests
This commit is contained in:
parent
68e370a917
commit
760a4dd307
|
|
@ -23,8 +23,12 @@
|
||||||
],
|
],
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-0": {
|
"psr-0": {
|
||||||
"Spreadsheet": "./",
|
"Spreadsheet": ""
|
||||||
"Test": "./test"
|
}
|
||||||
|
},
|
||||||
|
"autoload-dev": {
|
||||||
|
"psr-0": {
|
||||||
|
"Test": "test"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"description": "More info available on: http://pear.php.net/package/Spreadsheet_Excel_Writer",
|
"description": "More info available on: http://pear.php.net/package/Spreadsheet_Excel_Writer",
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<phpunit bootstrap="test/bootstrap.php"
|
<phpunit bootstrap="vendor/autoload.php"
|
||||||
cacheTokens="false"
|
cacheTokens="false"
|
||||||
colors="true"
|
colors="true"
|
||||||
convertErrorsToExceptions="true"
|
convertErrorsToExceptions="true"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
require_once __DIR__ . '/../vendor/autoload.php';
|
|
||||||
require_once __DIR__ . '/Test/Spreadsheet/Excel/Writer/Test_Spreadsheet_Excel_WriterTestCase.php'; //@todo fix this
|
|
||||||
Loading…
Reference in New Issue