? Pending

User tests: Successful: Unsuccessful:

avatar wilsonge
wilsonge
7 Mar 2019

I have no clue how to test this - it's reasonably clear on code review however it's wrong

avatar wilsonge wilsonge - open - 7 Mar 2019
avatar wilsonge wilsonge - change - 7 Mar 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 7 Mar 2019
Category Libraries
avatar HLeithner HLeithner - change - 7 Mar 2019
Title
Fix session constant
[4.0] Fix session constant
avatar HLeithner HLeithner - edited - 7 Mar 2019
avatar mbabker
mbabker - comment - 7 Mar 2019

You basically have to get a database failure on that query to actually test this, only way I can think of is to intentionally break the query because any other simulated failure won't let that query even try to execute (i.e. break DB creds, it'll fail connecting and that exception isn't caught in the manager).

avatar wilsonge wilsonge - change - 8 Mar 2019
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-03-08 22:48:39
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 8 Mar 2019
avatar wilsonge wilsonge - merge - 8 Mar 2019

Add a Comment

Login with GitHub to post a comment