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.

CommentFileSizeAuthor
#2 mymodule.test8.17 KBGekiboy

Comments

boombatower’s picture

Status: Active » Postponed (maintainer needs more info)

Could you post the test?

Gekiboy’s picture

Status: Postponed (maintainer needs more info) » Active
StatusFileSize
new8.17 KB

Attached 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.

boombatower’s picture

Status: Active » Postponed (maintainer needs more info)

Have you resolved this?

boombatower’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

If still an issue please re-open.