diff options
Diffstat (limited to 't/mock-db.t')
-rw-r--r-- | t/mock-db.t | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/t/mock-db.t b/t/mock-db.t index 54ceef100..e031a749b 100644 --- a/t/mock-db.t +++ b/t/mock-db.t @@ -16,30 +16,30 @@ use ok 'Bugzilla::Test::MockDB'; use ok 'Bugzilla::Test::Util', qw(create_user); try { - Bugzilla::Test::MockDB->import(); - pass('made fake in-memory db'); + Bugzilla::Test::MockDB->import(); + pass('made fake in-memory db'); } catch { - diag $_; - fail('made fake in-memory db'); + diag $_; + fail('made fake in-memory db'); }; try { - create_user('bob@pants.gov', '*'); - ok( Bugzilla::User->new({name => 'bob@pants.gov'})->id, 'create a user' ); + create_user('bob@pants.gov', '*'); + ok(Bugzilla::User->new({name => 'bob@pants.gov'})->id, 'create a user'); } catch { - fail('create a user'); + fail('create a user'); }; try { - my $rob = create_user('rob@pants.gov', '*'); - Bugzilla::User->check({id => $rob->id}); - pass('rob@pants.gov checks out'); + 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'); + diag $_; + fail('rob@pants.gov fails'); }; done_testing; |