Skip to content

Commit 6b3c164

Browse files
committed
test: Fix Test Cases
1 parent 0310d69 commit 6b3c164

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

tests/WebFiori/Tests/Cli/FormatterTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,6 @@ public function test13() {
167167
$_SERVER['NO_COLOR'] = null;
168168
}
169169

170-
}
171-
// ========== ENHANCED FORMATTER TESTS ==========
172-
173170
/**
174171
* Test basic color formatting
175172
* @test
@@ -443,3 +440,4 @@ public function testFormatWithVariousDataTypesEnhanced() {
443440
$result4 = Formatter::format(false, ['color' => 'yellow']);
444441
$this->assertIsString($result4);
445442
}
443+
}

tests/WebFiori/Tests/Cli/Progress/ProgressBarTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -313,9 +313,6 @@ public function testProgressBarWithMessage() {
313313
$firstOutput = $output[0];
314314
$this->assertStringContainsString('Loading...', $firstOutput);
315315
}
316-
}
317-
// ========== ENHANCED PROGRESS BAR TESTS ==========
318-
319316
/**
320317
* Test ProgressBar initialization with different parameters
321318
* @test
@@ -707,3 +704,4 @@ public function testFormatPlaceholdersEnhanced() {
707704
$this->assertStringContainsString('25%', $outputString);
708705
$this->assertStringContainsString('25/100', $outputString);
709706
}
707+
}

tests/WebFiori/Tests/Cli/RunnerTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -582,9 +582,6 @@ public function test00() {
582582

583583
], $runner->getOutput());
584584
}
585-
}
586-
// ========== ENHANCED RUNNER TESTS ==========
587-
588585
/**
589586
* Test Runner initialization and basic properties
590587
* @test
@@ -954,3 +951,4 @@ public function testCommandDiscoveryMethodsEnhanced() {
954951
$result11 = $runner->setDiscoveryStrictMode(false);
955952
$this->assertSame($runner, $result11);
956953
}
954+
}

0 commit comments

Comments
 (0)