Skip to content

Commit 0b8c168

Browse files
authored
Merge pull request #314 from lloc/refactoring-version-2-8
Tests added
2 parents c2a63ce + a08dc9b commit 0b8c168

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/TestMslsPostTagClassic.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
*/
1414
class TestMslsPostTagClassic extends MslsUnitTestCase {
1515

16+
1617
protected function setUp(): void {
1718
parent::setUp();
1819

@@ -93,4 +94,9 @@ public function test_edit_input(): void {
9394
// second call should not output anything
9495
$this->test->edit_input( $tag, 'test' );
9596
}
97+
98+
public function test_add_input() {
99+
$this->expectOutputString( '<div class="form-field"></div>' );
100+
$this->test->add_input( 'test' );
101+
}
96102
}

0 commit comments

Comments
 (0)