Skip to content
Snippets Groups Projects
Commit 35b92266 authored by Thomas Whitaker's avatar Thomas Whitaker
Browse files

Updated unit tests

parent 928f7e83
No related branches found
No related tags found
No related merge requests found
......@@ -50,9 +50,13 @@ class UfixitTest extends BaseTest
ob_start();
$temp = new Ufixit($this->data);
$output = $temp->fixAltText($error_html, $new_content);
$output = $temp->fixAltText($error_html, $new_content, false);
$this->assertEquals($expected, $output);
$expected = '<img src="https://webcourses.ucf.edu/courses/1234567/image.jpg" alt="" data-decorative="true">';
$output = $temp->fixAltText($error_html, "", true);
$this->assertEquals($expected, $output);
$this->checkOutputBuffer();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment