Fixed autoloading for tests

This commit is contained in:
Alexey Kopytko 2016-06-16 12:26:32 +09:00
parent 68e370a917
commit 760a4dd307
5 changed files with 7 additions and 7 deletions

View File

@ -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",

View File

@ -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"

View File

@ -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