Simpletest coverage at 89%
Bug #605624 reported by
XavierAntoviaque
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Humanity Project |
Confirmed
|
Medium
|
Vlad Dragu |
Bug Description
See attached.
Changed in hackit: | |
milestone: | none → alpha2.1 |
Changed in hackit: | |
milestone: | alpha2.1 → alpha3.0 |
Changed in hackit: | |
status: | Incomplete → Confirmed |
To post a comment you must log in.
I worked on the php unit tests and committed the code to launchpad. func_general. php there are 3 functions that I had to mock. func_login. php file. It shows 100% on my system, I do not know why it shows 98 on yours.
On functions/
Once mocked, I cannot get coverage for them. 2 of those functions return a random result (they calculate scan and hack chances based on a probability) and the other one does a header redirect location.
Can you please send me the coverage report for the functions/
Other than that, everything works.