mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-24 20:14:37 -04:00
Clean code.
This commit is contained in:
parent
1a47a2aa3b
commit
d5a0dce27a
6 changed files with 12 additions and 12 deletions
|
@ -112,7 +112,7 @@ describe('module \'' + ID + '\'', function () {
|
|||
|
||||
assert.isTrue(this.xAjax.calledOnce);
|
||||
assert.strictEqual(this.xAjax.lastCall.args[0].url, 'server/php/index.php');
|
||||
assert.strictEqual(this.xAjax.lastCall.args[0].type, 'POST');
|
||||
assert.strictEqual(this.xAjax.lastCall.args[0].type, 'post');
|
||||
assert.strictEqual(this.xAjax.lastCall.args[0].dataType, 'json');
|
||||
|
||||
assert.isTrue(this.xAjaxResult.done.calledOnce);
|
||||
|
@ -134,7 +134,7 @@ describe('module \'' + ID + '\'', function () {
|
|||
|
||||
assert.isTrue(this.xAjax.calledOnce);
|
||||
assert.strictEqual(this.xAjax.lastCall.args[0].url, '.');
|
||||
assert.strictEqual(this.xAjax.lastCall.args[0].type, 'POST');
|
||||
assert.strictEqual(this.xAjax.lastCall.args[0].type, 'post');
|
||||
assert.strictEqual(this.xAjax.lastCall.args[0].dataType, 'json');
|
||||
|
||||
assert.isTrue(this.xAjaxResult.done.calledOnce);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue