partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit 437a743258b2c7b21d61f3003bf031aac343fb20
parent a96db694223f85271a8a39580febbec406d983c3
Author: Felicitus <felicitus@felicitus.org>
Date:   Sun, 29 Nov 2015 13:47:17 +0100

Use GET for the json webserver test

Diffstat:
Mweb/setup/js/SetupTests/AbstractTest.js | 3+++
Mweb/setup/js/SetupTests/WebserverRewriteTest.js | 1+
2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/web/setup/js/SetupTests/AbstractTest.js b/web/setup/js/SetupTests/AbstractTest.js @@ -36,6 +36,8 @@ Ext.define('PartKeeprSetup.AbstractTest', { errors: [], warnings: [], + method: 'POST', + /** * Defines if a test should be skipped. No output will be generated. * @var {Boolean} @@ -88,6 +90,7 @@ Ext.define('PartKeeprSetup.AbstractTest', { url: url, success: this.onSuccess, failure: this.onFailure, + method: this.method, scope: this, params: Ext.encode(this.params), timeout: 120000 diff --git a/web/setup/js/SetupTests/WebserverRewriteTest.js b/web/setup/js/SetupTests/WebserverRewriteTest.js @@ -5,6 +5,7 @@ Ext.define('PartKeeprSetup.WebserverRewriteTest', { extend: 'PartKeeprSetup.AbstractTest', url: 'webserver-test', name: "PHP", + method: 'GET', message: "Testing webserver rewrite capability", onFailure: function (response) { this.success = false;