Bring tests up to date with codebase

Review Request #14 - Created Oct. 19, 2008 and submitted

Information
Bogdan-Cristian Tătăroiu
infoarena
Reviewers
hackers
Tests that edit textblocks: send "last_revision" field to make editing work.
That's how i discovered that textblock_get_revision_count returns 1 if page doesn't exist. A workaround in controller_textblock_edit is also in the diff.

Account test: when creating a user the email domain is checked for validity and test.com fails, replace with gmail :)
Textblock test: when checking the diff between 2 revisions, <ins></ins> and <del></del> tags were needed.

Mircea Pasoi

Loading...