View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0022231||mantisbt||markdown||public||2017-01-22 18:15||2017-02-01 08:31|
|Target Version||Fixed in Version|
|Summary||0022231: Fix unit tests for markdown|
We need to revise unit tests for Markdown to:
|Tags||No tags attached.|
I'm having an issue of including the helper methods in my tests suites:
I'm referring with the Bug and Notes processing methods:
It seems that the helper methods is asking a db connection though. right?
Q? is there a way to inject any required dependencies (autoloading) from the console?
I'm sorry I don't have time to look into this right now, but I suggest you check out how it's done for other API tests (in tests/Mantis/).
Since this is a core plugin, I would also suggest you put your tests there in the tests/Mantis/ directory, and not in a plugin-specific dir.
Thank you @dregad, I was just confused why there is logic to check from the database
right, will move it to tests/Mantis directory.
|2017-01-22 18:15||vboctor||New Issue|
|2017-01-22 18:18||vboctor||Relationship added||child of 0022180|
|2017-01-23 02:59||joel||Assigned To||=> joel|
|2017-01-23 02:59||joel||Status||new => assigned|
|2017-01-31 10:07||joel||Note Added: 0055424|
|2017-01-31 10:27||joel||Note Edited: 0055424||View Revisions|
|2017-01-31 10:28||joel||Note Edited: 0055424||View Revisions|
|2017-01-31 10:29||joel||Note Edited: 0055424||View Revisions|
|2017-01-31 10:38||joel||Note Edited: 0055424||View Revisions|
|2017-02-01 03:59||dregad||Note Added: 0055429|
|2017-02-01 08:31||joel||Note Added: 0055437|