Added experimental proxy route to backend api - fixes #91
Change-Id: I9a055b33c8cacef6cfa564467a17e7f55a1eeef5
diff --git a/t/plugin/auth-oauth.t b/t/plugin/auth-oauth.t
index d67837f..0239efe 100644
--- a/t/plugin/auth-oauth.t
+++ b/t/plugin/auth-oauth.t
@@ -8,7 +8,7 @@
#####################
# Start Fake server #
#####################
-my $mount_point = '/api/';
+my $mount_point = '/realapi/';
$ENV{KALAMAR_API} = $mount_point;
my $t = Test::Mojo->new('Kalamar' => {
@@ -34,7 +34,7 @@
# Configure fake backend
$fake_backend->pattern->defaults->{app}->log($t->app->log);
-$t->get_ok('/api')
+$t->get_ok('/realapi/v1.0')
->status_is(200)
->content_is('Fake server available');
diff --git a/t/plugin/auth.t b/t/plugin/auth.t
index 6b5818d..e310988 100644
--- a/t/plugin/auth.t
+++ b/t/plugin/auth.t
@@ -8,7 +8,7 @@
#####################
# Start Fake server #
#####################
-my $mount_point = '/api/';
+my $mount_point = '/realapi/';
$ENV{KALAMAR_API} = $mount_point;
my $t = Test::Mojo->new('Kalamar' => {
@@ -29,7 +29,7 @@
# Configure fake backend
$fake_backend->pattern->defaults->{app}->log($t->app->log);
-$t->get_ok('/api')
+$t->get_ok('/realapi/v1.0')
->status_is(200)
->content_is('Fake server available');