Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/undo-ransomware/ransomware_detection.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias <ilovemilk@wusa.io>2018-12-09 18:57:57 +0300
committerMatthias <ilovemilk@wusa.io>2018-12-09 18:57:57 +0300
commita9c0b438b994ebb12c5db5d0cb63124607b3c7b5 (patch)
tree5cbff5fbc3da276c52951db8353b6b94113fbe7e
parent7a2989a78006f8c17d1764d6e5d3886a242013a1 (diff)
Fix test skip message
-rw-r--r--tests/Unit/Analyzer/EntropyAnalyzerTest.php2
-rw-r--r--tests/Unit/Analyzer/FileCorruptionAnalyzerTest.php6
2 files changed, 4 insertions, 4 deletions
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);