User tests: Successful: Unsuccessful:
The current test class pollutes the global state by:
JFactory
without resetting state$format
variable of JDate
The current test class can be considered flaky because:
JLanguage
and is therefore reliant on the system environment variables; if the test class is run with a non-English language configured it would failThe test class is rewritten to:
TestCaseDatabase
; a database connection is NOT required for this test classtoSql
tests instead of relying on a database connection from JFactory
JFactory
; the system mock we have by default simply returns the string it is given so it is pretty much reliant on a "real" JLanguage
instance)Ensure the unit tests pass
N/A
Status | New | ⇒ | Pending |
Labels |
Added:
?
?
|
Category | ⇒ | Unit Tests |
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-08-28 00:27:26 |
Closed_By | ⇒ | wilsonge |