From 980fcae30ea3d814425f79f777d053109ec43aa9 Mon Sep 17 00:00:00 2001
From: ivaosthu <ivar.conradi.osthus@finn.no>
Date: Tue, 27 Aug 2019 23:27:24 +0200
Subject: [PATCH] debug: travis with postgres 10

---
 .travis.yml                          | 2 +-
 package.json                         | 2 +-
 test/e2e/api/admin/state.e2e.test.js | 2 --
 3 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 4a8016c5ce..1dd301d423 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -19,7 +19,7 @@ notifications:
     slack:
         secure: MroremSKwtQkwPbrXjgs9hIqKTCDKk7bAIXXzjcS6wXC9uRaFgwFaW8oO3vBxtWa4BL44EQBLE/rboWgqFER62+XgXNgEqGZqrcJHJvby4r+dUNMPI64OZvWdIiydIYxLo8C1C4x5PqBup0xuLq8h/SBnNvA2NLgkjuvzOi+v/Q=
 addons:
-    postgresql: '9.6'
+    postgresql: '10'
 cache:
     yarn: true
 deploy:
diff --git a/package.json b/package.json
index 122fc11fb0..d6096f384b 100644
--- a/package.json
+++ b/package.json
@@ -40,7 +40,7 @@
     "db-migrate": "db-migrate",
     "lint": "eslint .",
     "pretest": "npm run lint",
-    "test": "NODE_ENV=test PORT=4243 ava --serial",
+    "test": "NODE_ENV=test PORT=4243 ava",
     "test:docker": "./scripts/docker-postgres.sh",
     "test:watch": "npm run test -- --watch",
     "test:pg-virtualenv": "pg_virtualenv npm run test:pg-virtualenv-chai",
diff --git a/test/e2e/api/admin/state.e2e.test.js b/test/e2e/api/admin/state.e2e.test.js
index d9c680c813..da7eaa1183 100644
--- a/test/e2e/api/admin/state.e2e.test.js
+++ b/test/e2e/api/admin/state.e2e.test.js
@@ -59,7 +59,6 @@ test.serial('does not not accept gibberish', async t => {
         .then(destroy);
 });
 
-/* debugging travis
 test.serial('imports strategies and features from json file', async t => {
     t.plan(0);
     const { request, destroy } = await setupApp('state_api_serial');
@@ -79,4 +78,3 @@ test.serial('imports strategies and features from yaml file', async t => {
         .expect(202)
         .then(destroy);
 });
-*/