initial commit of file from CVS for smeserver-manager on Fri Mar 22 14:54:28 AEDT 2024
This commit is contained in:
16
root/usr/share/smanager/t/002_basic.t
Normal file
16
root/usr/share/smanager/t/002_basic.t
Normal file
@@ -0,0 +1,16 @@
|
||||
use Mojo::Base -strict;
|
||||
|
||||
use Test::More;
|
||||
use Test::Mojo;
|
||||
|
||||
use FindBin;
|
||||
use lib "$FindBin::Bin/../lib";
|
||||
|
||||
eval "use esmith::ConfigDB";
|
||||
plan skip_all => 'esmith::ConfigDB (and others) required for testing 002_basic' if $@;
|
||||
|
||||
plan tests => 3;
|
||||
|
||||
|
||||
my $t = Test::Mojo->new('SrvMngr');
|
||||
$t->get_ok('/')->status_is(200)->content_like(qr/SME Server 10/);
|
Reference in New Issue
Block a user