Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Franziska Hübler committed Dec 9, 2024
1 parent 1df5d8b commit f6915d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/numberfilter_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ final class numberfilter_test extends \advanced_testcase {
*/
public function test_filter() {
$text = 'This is a test #1234 and #5678';
$expected = 'This is a test <span class="mod_kanban_card_number" data-id="1234">#1234</span> and <span class="mod_kanban_card_number" data-id="5678">#5678</span>';
$expected = 'This is a test <a class="mod_kanban_card_number" data-id="1234">#1234</a> and <a class="mod_kanban_card_number" data-id="5678">#5678</a>';
$this->assertEquals($expected, numberfilter::filter($text));
}

Expand Down

0 comments on commit f6915d3

Please sign in to comment.