Skip to content

Commit

Permalink
fix phpunit config
Browse files Browse the repository at this point in the history
  • Loading branch information
msquare committed Oct 9, 2016
1 parent 1d4811c commit d59b1c8
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 18 deletions.
24 changes: 24 additions & 0 deletions phpunit.xml
@@ -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

class LogEntries_model_test extends PHPUnit_Framework_TestCase {
class LogEntriesModelTest extends PHPUnit_Framework_TestCase {

public function create_LogEntry() {
LogEntry_create('test', 'test');
Expand Down Expand Up @@ -29,4 +29,4 @@ public function teardown() {
}
}

?>
?>
@@ -1,6 +1,6 @@
<?php

class Room_model_test extends PHPUnit_Framework_TestCase {
class RoomModelTest extends PHPUnit_Framework_TestCase {

private $room_id = null;

Expand Down Expand Up @@ -30,4 +30,4 @@ public function teardown() {
}
}

?>
?>
14 changes: 0 additions & 14 deletions test/phpunit.xml

This file was deleted.

0 comments on commit d59b1c8

Please sign in to comment.