Skip to content

Commit

Permalink
New Version of PHPUnit
Browse files Browse the repository at this point in the history
  • Loading branch information
jarofgreen committed Jul 28, 2017
1 parent 0c4a06c commit 7ff0a07
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 4 deletions.
4 changes: 3 additions & 1 deletion tests/LinkInfoTest.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<?php

use PHPUnit\Framework\TestCase;

/*
* @license https://github.com/JMB-Technology-Limited/Twig-Extensions/blob/master/LICENSE.txt 3-clause BSD
* @copyright (c) JMB Technology Limited, http://jmbtechnology.co.uk/
*/
class LinkInfoTest extends PHPUnit_Framework_TestCase {
class LinkInfoTest extends TestCase {

function linkInfoTestProvider() {
return array(
Expand Down
4 changes: 3 additions & 1 deletion tests/LinkifyTest.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<?php

use PHPUnit\Framework\TestCase;

/*
* @license https://github.com/JMB-Technology-Limited/Twig-Extensions/blob/master/LICENSE.txt 3-clause BSD
* @copyright (c) JMB Technology Limited, http://jmbtechnology.co.uk/
*/
class LinkifyTest extends PHPUnit_Framework_TestCase {
class LinkifyTest extends TestCase {

function linkifyTestProvider() {
return array(
Expand Down
4 changes: 3 additions & 1 deletion tests/SameDayTest.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<?php

use PHPUnit\Framework\TestCase;

/*
* @license https://github.com/JMB-Technology-Limited/Twig-Extensions/blob/master/LICENSE.txt 3-clause BSD
* @copyright (c) JMB Technology Limited, http://jmbtechnology.co.uk/
*/
class SameDayTest extends PHPUnit_Framework_TestCase {
class SameDayTest extends TestCase {

function sameDayTestProvider() {
return array(
Expand Down
4 changes: 3 additions & 1 deletion tests/TimeZoneTest.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<?php

use PHPUnit\Framework\TestCase;

/*
* @license https://github.com/JMB-Technology-Limited/Twig-Extensions/blob/master/LICENSE.txt 3-clause BSD
* @copyright (c) JMB Technology Limited, http://jmbtechnology.co.uk/
*/
class TimeZoneTest extends PHPUnit_Framework_TestCase {
class TimeZoneTest extends TestCase {

function timeZoneTestProvider() {
return array(
Expand Down
5 changes: 5 additions & 0 deletions vagrant/app/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,9 @@ sudo apt-get install -y php phpunit git zip
mkdir /home/vagrant/bin
cd /home/vagrant/bin
wget -q https://getcomposer.org/composer.phar
wget -q -O phpunit.phar https://phar.phpunit.de/phpunit-6.2.phar

echo "display_errors = On" > /etc/php/7.0/cli/conf.d/99-custom.ini
echo "error_reporting = E_ALL" >> /etc/php/7.0/cli/conf.d/99-custom.ini


0 comments on commit 7ff0a07

Please sign in to comment.