Clean code.

This commit is contained in:
Lars Jung 2015-04-25 17:29:15 +02:00
parent 1a47a2aa3b
commit d5a0dce27a
6 changed files with 12 additions and 12 deletions

View file

@ -139,8 +139,8 @@ describe('module \'' + ID + '\'', function () {
assert.isTrue(this.xAjax.calledOnce);
assert.deepEqual(this.xAjax.lastCall.args, [{
url: 'server/php/index.php',
type: 'POST',
dataType: 'JSON',
type: 'post',
dataType: 'json',
data: {
action: 'login',
pass: pass
@ -194,8 +194,8 @@ describe('module \'' + ID + '\'', function () {
assert.isTrue(this.xAjax.calledOnce);
assert.deepEqual(this.xAjax.lastCall.args, [{
url: 'server/php/index.php',
type: 'POST',
dataType: 'JSON',
type: 'post',
dataType: 'json',
data: {
action: 'logout'
}