From a9c0b438b994ebb12c5db5d0cb63124607b3c7b5 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 9 Dec 2018 16:57:57 +0100 Subject: Fix test skip message --- tests/Unit/Analyzer/EntropyAnalyzerTest.php | 2 +- tests/Unit/Analyzer/FileCorruptionAnalyzerTest.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/Unit') diff --git a/tests/Unit/Analyzer/EntropyAnalyzerTest.php b/tests/Unit/Analyzer/EntropyAnalyzerTest.php index 4d1aaaa..e8e93e9 100644 --- a/tests/Unit/Analyzer/EntropyAnalyzerTest.php +++ b/tests/Unit/Analyzer/EntropyAnalyzerTest.php @@ -136,7 +136,7 @@ class EntropyAnalyzerTest extends TestCase public function testCalculateEntropyOfFile() { - $this->markTestSkipped('must be revisited.'); + $this->markTestSkipped('getContent was removed.'); $entropyAnalyzer = $this->getMockBuilder(EntropyAnalyzer::class) ->setConstructorArgs([$this->logger, $this->rootFolder, $this->entropy, 'john']) ->setMethods(array('calculateEntropy')) diff --git a/tests/Unit/Analyzer/FileCorruptionAnalyzerTest.php b/tests/Unit/Analyzer/FileCorruptionAnalyzerTest.php index ff6fb00..e40fc71 100644 --- a/tests/Unit/Analyzer/FileCorruptionAnalyzerTest.php +++ b/tests/Unit/Analyzer/FileCorruptionAnalyzerTest.php @@ -70,7 +70,7 @@ class FileCorruptionAnalyzerTest extends TestCase */ public function testAnalyze($isCorrupted) { - $this->markTestSkipped('must be revisited.'); + $this->markTestSkipped('getContent was removed.'); $file = $this->createMock(File::class); $file->method('getContent') ->willReturn('test'); @@ -117,7 +117,7 @@ class FileCorruptionAnalyzerTest extends TestCase */ public function testIsCorrupted($data, $extension, $result) { - $this->markTestSkipped('must be revisited.'); + $this->markTestSkipped('getContent was removed.'); $isCorrupted = self::getMethod('isCorrupted'); $node = $this->createMock(File::class); @@ -135,7 +135,7 @@ class FileCorruptionAnalyzerTest extends TestCase public function testIsCorruptedCatchException() { - $this->markTestSkipped('must be revisited.'); + $this->markTestSkipped('getContent was removed.'); $isCorrupted = self::getMethod('isCorrupted'); $node = $this->createMock(File::class); -- cgit v1.2.3