I have a series of assertion checks in my test case. For all of them, they display in the results that they asserted properly (assertEqual() for $a and $b says they are the same, or assert() with an expression passed in tells me the result was TRUE), but mark the assertion as a failed test. For instance I will have one test with 6 assertion checks in it. For all of them, the output says that they have the proper values, but they are all marked as failures and I am told my test has 6 failures. At the same time, all automatic checks such as entries for a drupalPost and status 200 codes on page requests are passing without any issue.
Any ideas would be well appreciated. Thanks.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | mymodule.test | 8.17 KB | Gekiboy |
Comments
Comment #1
boombatower commentedCould you post the test?
Comment #2
Gekiboy commentedAttached is an example of how I'm performing my tests. Let me know what you think. The install routine for mymodule creates the 5 different content types referred to.
Comment #3
boombatower commentedHave you resolved this?
Comment #4
boombatower commentedIf still an issue please re-open.