Bug 43117: Restore use Test::NoWarnings
From
commit 6cc683b518
Bug 34776: Unit tests
-use Test::NoWarnings;
-use Test::More tests => 2;
+use Test::More tests => 1;
+use Test::MockModule;
+#use Test::NoWarnings;
Test plan:
Apply the first patch
prove xt/use-test-no-warnings.t
=> FAIL
Apply this patch
prove xt/use-test-no-warnings.t
=> PASS
prove t/Form_MessagingPreferences.t
=> PASS
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Lisette Scheer <lisette@bywatersolutions.com>
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
This commit is contained in:
parent
e2c90b5750
commit
3934a2bcc0
|
|
@ -4,10 +4,10 @@ use Modern::Perl;
|
||||||
use CGI;
|
use CGI;
|
||||||
use Template;
|
use Template;
|
||||||
|
|
||||||
use Test::More tests => 1;
|
use Test::More tests => 2;
|
||||||
use Test::MockModule;
|
use Test::MockModule;
|
||||||
|
|
||||||
#use Test::NoWarnings;
|
use Test::NoWarnings;
|
||||||
use t::lib::TestBuilder;
|
use t::lib::TestBuilder;
|
||||||
use t::lib::Mocks;
|
use t::lib::Mocks;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue