mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-27 21:44:22 -04:00
Clean code.
This commit is contained in:
parent
1a47a2aa3b
commit
d5a0dce27a
6 changed files with 12 additions and 12 deletions
|
@ -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'
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue