1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
|
From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
Date: Fri, 15 Nov 2019 12:50:31 -1000
Subject: Move to namespaced PHPUnit versions
---
tests/BinTest.php | 2 +-
tests/EnvironmentTest.php | 2 +-
tests/HtmlConverterTest.php | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/BinTest.php b/tests/BinTest.php
index ff4cdf7..e9e125b 100644
--- a/tests/BinTest.php
+++ b/tests/BinTest.php
@@ -4,7 +4,7 @@ namespace League\HTMLToMarkdown\Test;
use mikehaertl\shellcommand\Command;
-class BinTest extends \PHPUnit_Framework_TestCase
+class BinTest extends \PHPUnit\Framework\TestCase
{
/**
* Tests the behavior of not providing any HTML input
diff --git a/tests/EnvironmentTest.php b/tests/EnvironmentTest.php
index 5ac17ed..a97e99d 100644
--- a/tests/EnvironmentTest.php
+++ b/tests/EnvironmentTest.php
@@ -4,7 +4,7 @@ namespace League\HTMLToMarkdown\Test;
use League\HTMLToMarkdown\Environment;
-class EnvironmentTest extends \PHPUnit_Framework_TestCase
+class EnvironmentTest extends \PHPUnit\Framework\TestCase
{
public function test_creation()
{
diff --git a/tests/HtmlConverterTest.php b/tests/HtmlConverterTest.php
index 168d2b9..d825bbe 100644
--- a/tests/HtmlConverterTest.php
+++ b/tests/HtmlConverterTest.php
@@ -5,7 +5,7 @@ namespace League\HTMLToMarkdown\Test;
use League\HTMLToMarkdown\Environment;
use League\HTMLToMarkdown\HtmlConverter;
-class HtmlConverterTest extends \PHPUnit_Framework_TestCase
+class HtmlConverterTest extends \PHPUnit\Framework\TestCase
{
private function html_gives_markdown($html, $expected_markdown, array $options = array())
{
|