aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorpaulrbr-fl <43074087+paulrbr-fl@users.noreply.github.com>2020-10-14 10:04:29 +0200
committerGitHub <noreply@github.com>2020-10-14 10:04:29 +0200
commit2e423637ee780bd273094ad52e49906100724d08 (patch)
treec7524e6ac5fb16e8da10c1ad24ed993664e8a261 /tests
parentda8563a557eaa7be2b2b42424bc86ee58550ffc1 (diff)
parentb193f7503842ed803e0bcedfbbfc45d1b6b7d9c0 (diff)
downloadansible-kong-app-2e423637ee780bd273094ad52e49906100724d08.tar.gz
ansible-kong-app-2e423637ee780bd273094ad52e49906100724d08.tar.zst
ansible-kong-app-2e423637ee780bd273094ad52e49906100724d08.zip
Merge pull request #22 from paulrbr-fl/improve-doc
Prepare to open-source this role
Diffstat (limited to 'tests')
-rwxr-xr-xtests/kong.py2
-rw-r--r--tests/test.yml3
2 files changed, 4 insertions, 1 deletions
diff --git a/tests/kong.py b/tests/kong.py
index 4e2df28..a1f9cec 100755
--- a/tests/kong.py
+++ b/tests/kong.py
@@ -13,7 +13,7 @@ class SimpleHTTPRequestHandler(CGIHTTPRequestHandler):
13 self.wfile.write(b'{ "data": [] }') 13 self.wfile.write(b'{ "data": [] }')
14 14
15 def do_POST(self): 15 def do_POST(self):
16 self.send_response(200) 16 self.send_response(201)
17 self.end_headers() 17 self.end_headers()
18 self.wfile.write(b'Hello, world!') 18 self.wfile.write(b'Hello, world!')
19 19
diff --git a/tests/test.yml b/tests/test.yml
index 36c81a2..cbe858f 100644
--- a/tests/test.yml
+++ b/tests/test.yml
@@ -10,3 +10,6 @@
10 services: 10 services:
11 - url: http://example.com 11 - url: http://example.com
12 name: test 12 name: test
13 routes:
14 - hosts: [my.kong.example]
15 paths: [/]