summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-08-20 23:27:57 +0200
committerGitHub <noreply@github.com>2018-08-20 23:27:57 +0200
commitec67fc35e552accc2338e322e9128dacb13a9a91 (patch)
treed8b21dbd1e0a11f7022964d803c1420fb37894c3 /t
parentb71b52a87e515692e2b4445d79c6085bf0d97788 (diff)
downloadbugzilla-ec67fc35e552accc2338e322e9128dacb13a9a91.tar.gz
bugzilla-ec67fc35e552accc2338e322e9128dacb13a9a91.tar.xz
Bug 1482145 - Some changes required for unit tests to be written
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;