MT#14585 Move REST API tests to t/api-rest/ folder

Change-Id: I6c31f613e885a491b44f3c5445f5bf44d094247c
changes/98/2598/3
Alexander Lutay 10 years ago
parent 10faab2e4b
commit 9cdaf04f85

@ -193,7 +193,7 @@ method ACTION_test_api {
$self->depends_on('code');
$self->_test_preconditions;
$self->_download_certs;
$self->test_files('t/api-*.t');
$self->test_files('t/api-rest/*.t');
$self->generic_test(type => 'default');
unlink ($ENV{API_SSL_CLIENT_CERT}, $ENV{API_SSL_CA_CERT}); # created by _download_certs()
}

@ -23,7 +23,7 @@ use JSON::PP;
use LWP::Debug;
BEGIN {
unshift(@INC,'../lib');
unshift(@INC,'../../lib');
}
use NGCP::Panel::Utils::DateTime qw();
use NGCP::Panel::Utils::ProfilePackages qw();
@ -1618,4 +1618,4 @@ sub _create_gantt {
#}
return 0;
}
}

@ -10,7 +10,7 @@ use JSON::PP;
use LWP::Debug;
BEGIN {
unshift(@INC,'../lib');
unshift(@INC,'../../lib');
}
use NGCP::Panel::Utils::BillingNetworks qw();

@ -11,7 +11,7 @@ use DateTime::Format::Strptime qw();
use DateTime::Format::ISO8601 qw();
BEGIN {
unshift(@INC,'../lib');
unshift(@INC,'../../lib');
}
use NGCP::Panel::Utils::ProfilePackages qw();

@ -9,7 +9,7 @@ use JSON::PP;
use LWP::Debug;
BEGIN {
unshift(@INC,'../lib');
unshift(@INC,'../../lib');
}
use NGCP::Panel::Utils::Journal qw();

@ -10,7 +10,7 @@ use JSON::PP;
use LWP::Debug;
BEGIN {
unshift(@INC,'../lib');
unshift(@INC,'../../lib');
}
use NGCP::Panel::Utils::ProfilePackages qw();

@ -5,7 +5,7 @@ use Test::More;
BEGIN {
unshift(@INC,'../lib');
unshift(@INC,'../../lib');
}
use NGCP::Panel::Utils::DateTime qw();
@ -26,4 +26,4 @@ $t_b->join();
ok(1,'threads joined');
#ok($t_a + $t_b == 2,'test threads joined');
done_testing;
done_testing;

Before

Width:  |  Height:  |  Size: 480 KiB

After

Width:  |  Height:  |  Size: 480 KiB

Loading…
Cancel
Save