fix phpunit config
This commit is contained in:
parent
1d4811cca5
commit
d59b1c8812
|
@ -0,0 +1,24 @@
|
||||||
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.5/phpunit.xsd"
|
||||||
|
backupGlobals="false"
|
||||||
|
bootstrap="./includes/engelsystem_provider.php"
|
||||||
|
colors="true"
|
||||||
|
convertErrorsToExceptions="true"
|
||||||
|
convertNoticesToExceptions="true"
|
||||||
|
convertWarningsToExceptions="true"
|
||||||
|
processIsolation="false">
|
||||||
|
<testsuites>
|
||||||
|
<testsuite name="Models">
|
||||||
|
<directory>./test/model/</directory>
|
||||||
|
</testsuite>
|
||||||
|
</testsuites>
|
||||||
|
<filter>
|
||||||
|
<whitelist>
|
||||||
|
<directory>./include/</directory>
|
||||||
|
<directory>./public/</directory>
|
||||||
|
</whitelist>
|
||||||
|
</filter>
|
||||||
|
<php>
|
||||||
|
<const name="PHPUNIT_TESTSUITE" value="true" />
|
||||||
|
</php>
|
||||||
|
</phpunit>
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
class LogEntries_model_test extends PHPUnit_Framework_TestCase {
|
class LogEntriesModelTest extends PHPUnit_Framework_TestCase {
|
||||||
|
|
||||||
public function create_LogEntry() {
|
public function create_LogEntry() {
|
||||||
LogEntry_create('test', 'test');
|
LogEntry_create('test', 'test');
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
class Room_model_test extends PHPUnit_Framework_TestCase {
|
class RoomModelTest extends PHPUnit_Framework_TestCase {
|
||||||
|
|
||||||
private $room_id = null;
|
private $room_id = null;
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.5/phpunit.xsd"
|
|
||||||
bootstrap="../includes/engelsystem_provider.php" colors="true"
|
|
||||||
convertErrorsToExceptions="true" convertNoticesToExceptions="true"
|
|
||||||
convertWarningsToExceptions="true" forceCoversAnnotation="false">
|
|
||||||
<testsuites>
|
|
||||||
<testsuite name="Models">
|
|
||||||
<directory>model/*</directory>
|
|
||||||
</testsuite>
|
|
||||||
</testsuites>
|
|
||||||
<php>
|
|
||||||
<const name="PHPUNIT_TESTSUITE" value="true" />
|
|
||||||
</php>
|
|
||||||
</phpunit>
|
|
Loading…
Reference in New Issue