update tests to work with phpunit version installed by composer

This commit is contained in:
msquare 2017-07-19 21:49:04 +02:00
parent 8ae0123635
commit 9b3f6f557a
3 changed files with 15 additions and 10 deletions

View File

@ -16,6 +16,7 @@
<whitelist> <whitelist>
<directory>./include/</directory> <directory>./include/</directory>
<directory>./public/</directory> <directory>./public/</directory>
<directory>./src/</directory>
</whitelist> </whitelist>
</filter> </filter>
<php> <php>

View File

@ -1,9 +1,11 @@
<?php <?php
namespace Engelsystem\Test; namespace Engelsystem\Test;
class LogEntriesModelTest extends \PHPUnit_Framework_TestCase use \PHPUnit\Framework\TestCase;
class LogEntriesModelTest extends TestCase
{ {
public function create_LogEntry() public function create_LogEntry()
{ {
LogEntry_create('test', 'test'); LogEntry_create('test', 'test');

View File

@ -1,9 +1,11 @@
<?php <?php
namespace Engelsystem\Test; namespace Engelsystem\Test;
class RoomModelTest extends \PHPUnit_Framework_TestCase use \PHPUnit\Framework\TestCase;
class RoomModelTest extends TestCase
{ {
private $room_id = null; private $room_id = null;
public function create_Room() public function create_Room()