User tests: Successful: Unsuccessful:
I had to disable the Tests for the JMediaHelper because I found out that test fail just a few minutes before release. This PR enables that tests. Because we didn't really tested the mine type we hadn't the problem with how we load data stubs for the extensions table. We define minetypes
image\\/jpeg
The double Backslash results in a check
"image/jpeg" === "image\/jpeg"
Obviously not the same and the test is failing.
To see it fail go to https://github.com/joomla/joomla-cms/blob/staging/tests/unit/suites/libraries/cms/helper/JHelperMediaTest.php#L183 and delete the line
the let the test run (do a composer install in your repository dir and then ./libraries/vendor/bin/phpunit tests/unit/suites/libraries/cms/helper/JHelperMediaTest.php)
Status | New | ⇒ | Pending |
Category | ⇒ | Unit Tests |
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-05-21 13:12:33 |
Closed_By | ⇒ | wilsonge | |
Labels |
Added:
?
?
|