Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
Test enhancement (dompdf#1723)
Browse files Browse the repository at this point in the history
  • Loading branch information
peter279k authored and bsweeney committed Nov 11, 2018
1 parent 422e9c7 commit 6f9ff4b
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ php:
- 7.1
- 7.2
- 7.3
- nightly
- hhvm

install: travis_retry composer install --no-interaction --prefer-source
Expand All @@ -18,6 +19,7 @@ script:

matrix:
allow_failures:
- php: nightly
- php: hhvm
- php: 7.3
fast_finish: true
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"phenx/php-svg-lib": "0.3.*"
},
"require-dev": {
"phpunit/phpunit": "4.8.*",
"phpunit/phpunit": "^4.8|^5.5|^6.5",
"squizlabs/php_codesniffer": "2.*"
},
"extra": {
Expand Down
4 changes: 2 additions & 2 deletions tests/Dompdf/Tests/AutoloaderTest.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php
namespace Dompdf\Tests;

use PHPUnit_Framework_TestCase;
use PHPUnit\Framework\TestCase;
use Dompdf\Autoloader;

class AutoloaderTest extends PHPUnit_Framework_TestCase
class AutoloaderTest extends TestCase
{
public function testAutoload()
{
Expand Down
4 changes: 2 additions & 2 deletions tests/Dompdf/Tests/DompdfTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@

use Dompdf\Frame\FrameTree;
use Dompdf\Options;
use PHPUnit_Framework_TestCase;
use PHPUnit\Framework\TestCase;
use Dompdf\Dompdf;
use Dompdf\Css\Stylesheet;
use DOMDocument;

class DompdfTest extends PHPUnit_Framework_TestCase
class DompdfTest extends TestCase
{
public function testConstructor()
{
Expand Down
4 changes: 2 additions & 2 deletions tests/Dompdf/Tests/HelpersTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
namespace Dompdf\Tests;

use Dompdf\Helpers;
use PHPUnit_Framework_TestCase;
use PHPUnit\Framework\TestCase;

class HelpersTest extends PHPUnit_Framework_TestCase
class HelpersTest extends TestCase
{
public function testParseDataUriBase64Image()
{
Expand Down
4 changes: 2 additions & 2 deletions tests/Dompdf/Tests/OptionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
namespace Dompdf\Tests;

use Dompdf\Options;
use PHPUnit_Framework_TestCase;
use PHPUnit\Framework\TestCase;

class OptionsTest extends PHPUnit_Framework_TestCase
class OptionsTest extends TestCase
{
public function testConstructor()
{
Expand Down

0 comments on commit 6f9ff4b

Please sign in to comment.