From 74ba2b301dc11e75494df9e7722e5a945ff9361f Mon Sep 17 00:00:00 2001 From: Gabriel Caruso Date: Sat, 11 Nov 2017 04:22:27 -0200 Subject: [PATCH] Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase --- composer.json | 2 +- composer.lock | 2 +- tests/ContentTypes/Markdown/LinkRendererTest.php | 6 ++++-- tests/DauxHelperTest.php | 7 +++++-- tests/Format/Confluence/ApiTest.php | 4 +++- tests/Format/HTML/ConfigTest.php | 6 ++++-- tests/Format/HTML/TableOfContentsTest.php | 8 ++++---- tests/Tree/BuilderIntegrationTest.php | 6 ++++-- tests/Tree/BuilderTest.php | 6 ++++-- tests/Tree/ContentTest.php | 6 ++++-- tests/Tree/DirectoryTest.php | 6 ++++-- 11 files changed, 38 insertions(+), 21 deletions(-) diff --git a/composer.json b/composer.json index 8c2cd46..68253a0 100644 --- a/composer.json +++ b/composer.json @@ -37,7 +37,7 @@ "justinwalsh/daux.io": "*" }, "require-dev": { - "phpunit/phpunit": "~5", + "phpunit/phpunit": "~5.7", "mikey179/vfsStream": "^1.6" } } diff --git a/composer.lock b/composer.lock index e2683ed..38f3849 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "content-hash": "9e938ead59846576154220013f069892", + "content-hash": "efcf7514a9c5a5385f89f05c9bec4e6b", "packages": [ { "name": "guzzlehttp/guzzle", diff --git a/tests/ContentTypes/Markdown/LinkRendererTest.php b/tests/ContentTypes/Markdown/LinkRendererTest.php index 08a3dd8..7e40782 100644 --- a/tests/ContentTypes/Markdown/LinkRendererTest.php +++ b/tests/ContentTypes/Markdown/LinkRendererTest.php @@ -1,4 +1,5 @@ - ['edit_on' => 'test']]); diff --git a/tests/Format/HTML/TableOfContentsTest.php b/tests/Format/HTML/TableOfContentsTest.php index 474b952..70d65f3 100644 --- a/tests/Format/HTML/TableOfContentsTest.php +++ b/tests/Format/HTML/TableOfContentsTest.php @@ -1,9 +1,11 @@ - new MainConfig]); @@ -87,5 +89,3 @@ EXPECTED; $this->assertEquals($expected, $converter->convertToHtml($source)); } } - - diff --git a/tests/Tree/BuilderIntegrationTest.php b/tests/Tree/BuilderIntegrationTest.php index e2815d6..dcea5fd 100644 --- a/tests/Tree/BuilderIntegrationTest.php +++ b/tests/Tree/BuilderIntegrationTest.php @@ -1,11 +1,13 @@ -