User tests: Successful: Unsuccessful:
As per the doc block I've typecast the result to be a boolean as it was returning the string 0 on false and 1 on true for the enabled state of the plugin (as these are the values stored in the database). Currently you get true and false in the frontend and 0 and 1 in the backend.
In the backend ensure that the modal views when you are selecting a single item in the menu show everything properly
Replaces #6443
Labels |
Added:
?
|
Labels |
Added:
?
|
Category | ⇒ | Unit Tests |
Nope - but I'll try anyhow :D
Copy/paste is your friend
Class "JApplicationSite" is declared "final" and cannot be mocked.
I've pushed the code to mock the admin application tho
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-05-08 16:37:36 |
Closed_By | ⇒ | roland-d |
Milestone |
Added: |
Merged on review.
Think you could redo this with mock data injection in a similar manner to what we did with the Framework application package's tests so we can start cutting some of the dependencies on global manipulation?