Mercurial > hg > isophonics-drupal-site
comparison core/modules/simpletest/src/Tests/UiPhpUnitOutputTest.php @ 18:af1871eacc83
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:33:08 +0100 |
parents | 4c8ae668cc8c |
children |
comparison
equal
deleted
inserted
replaced
17:129ea1e6d783 | 18:af1871eacc83 |
---|---|
33 $output = []; | 33 $output = []; |
34 simpletest_phpunit_run_command([SimpletestPhpunitBrowserTest::class], $phpunit_junit_file, $status, $output); | 34 simpletest_phpunit_run_command([SimpletestPhpunitBrowserTest::class], $phpunit_junit_file, $status, $output); |
35 | 35 |
36 // Check that there are <br> tags for the HTML output by | 36 // Check that there are <br> tags for the HTML output by |
37 // SimpletestUiPrinter. | 37 // SimpletestUiPrinter. |
38 $this->assertEqual($output[19], 'HTML output was generated<br />'); | 38 $this->assertEqual($output[20], 'HTML output was generated<br />'); |
39 // Check that URLs are printed as HTML links. | 39 // Check that URLs are printed as HTML links. |
40 $this->assertIdentical(strpos($output[20], '<a href="http'), 0); | 40 $this->assertIdentical(strpos($output[21], '<a href="http'), 0); |
41 } | 41 } |
42 | 42 |
43 } | 43 } |