From 0f10e3f1c5f49c3f21207a3bf156b5a05a00dea0 Mon Sep 17 00:00:00 2001 From: Yuansheng Date: Sun, 28 Jun 2020 10:31:57 +0800 Subject: [PATCH] test: format by tool `reindex`. --- t/admin/routes.t | 5 ++++- t/debug/debug-mode.t | 1 - t/discovery/eureka.t | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/t/admin/routes.t b/t/admin/routes.t index 05f32dd312e8..0e0d198892a7 100644 --- a/t/admin/routes.t +++ b/t/admin/routes.t @@ -1773,6 +1773,8 @@ passed --- no_error_log [error] + + === TEST 48: string id --- config location /t { @@ -1858,7 +1860,8 @@ GET /t [error] -=== TEST 50: Verify Response Content-Type=applciation/json + +=== TEST 51: Verify Response Content-Type=applciation/json --- config location /t { content_by_lua_block { diff --git a/t/debug/debug-mode.t b/t/debug/debug-mode.t index 05534e13e35b..63e3141b43f3 100644 --- a/t/debug/debug-mode.t +++ b/t/debug/debug-mode.t @@ -92,7 +92,6 @@ loaded plugin and sort by priority: -2000 name: serverless-post-function - === TEST 2: set route(no plugin) --- config location /t { diff --git a/t/discovery/eureka.t b/t/discovery/eureka.t index 5ae26bfeb6ed..724cc7dc5589 100644 --- a/t/discovery/eureka.t +++ b/t/discovery/eureka.t @@ -58,7 +58,6 @@ run_tests(); __DATA__ - === TEST 1: get APISIX-EUREKA info from EUREKA --- yaml_config eval: $::yaml_config --- apisix_yaml @@ -84,6 +83,7 @@ connect_timeout:1500, send_timeout:1500, read_timeout:1500. [error] + === TEST 2: error service_name name --- yaml_config eval: $::yaml_config --- apisix_yaml @@ -102,6 +102,7 @@ GET /eureka/apps/APISIX-EUREKA qr/.*failed to pick server: no valid upstream node.*/ + === TEST 3: with proxy-rewrite --- yaml_config eval: $::yaml_config --- apisix_yaml @@ -128,4 +129,3 @@ eureka uri:http://127.0.0.1:8761/eureka/. connect_timeout:1500, send_timeout:1500, read_timeout:1500. --- no_error_log [error] -