How to remove test user's registration

14 views
Skip to first unread message

Ian W. Scott

unread,
Jun 25, 2013, 1:57:23 PM6/25/13
to web...@googlegroups.com
Hi again,

I'm working on returning my test db to its initial state after I run my unit/integration tests. I'm registering a test user just fine using the fantastic WebClient. But how can I remove that test user afterwards? (Otherwise I'll end up with my test db cluttered with redundant test users, created every time my test suite runs.)

Thanks ahead of time,

Ian  

Anthony

unread,
Jun 25, 2013, 2:08:04 PM6/25/13
to web...@googlegroups.com

Ian W. Scott

unread,
Jun 25, 2013, 2:38:03 PM6/25/13
to web...@googlegroups.com
Ok, thanks Anthony. So what you're saying is that there's no auth method or anything parallel to user/register. You just remove the db.auth row directly.
That's simple enough.

Ian



On Tuesday, June 25, 2013 1:57:23 PM UTC-4, Ian W. Scott wrote:

Niphlod

unread,
Jun 25, 2013, 2:40:48 PM6/25/13
to web...@googlegroups.com
yep.
PS: in addition you rarely may want to have the db where your tests happen to be the same as the one you use in production....
Reply all
Reply to author
Forward
0 new messages