summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/mock-db.t10
1 files changed, 10 insertions, 0 deletions
diff --git a/t/mock-db.t b/t/mock-db.t
index 6cf84f316..54ceef100 100644
--- a/t/mock-db.t
+++ b/t/mock-db.t
@@ -32,4 +32,14 @@ catch {
fail('create a user');
};
+try {
+ my $rob = create_user('rob@pants.gov', '*');
+ Bugzilla::User->check({id => $rob->id});
+ pass('rob@pants.gov checks out');
+}
+catch {
+ diag $_;
+ fail('rob@pants.gov fails');
+};
+
done_testing;