mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-23 05:52:49 +02:00
Restructure file base.
This commit is contained in:
@@ -77,7 +77,7 @@ describe('module \'' + ID + '\'', function () {
|
||||
it('works', function () {
|
||||
|
||||
var instance = this.applyFn();
|
||||
var ui = this.xSettings.appHref + 'client/images/ui/';
|
||||
var ui = this.xSettings.appHref + 'public/images/ui/';
|
||||
|
||||
assert.strictEqual(instance.image(), ui + 'undefined.svg');
|
||||
assert.strictEqual(instance.image(1), ui + '1.svg');
|
||||
@@ -97,7 +97,7 @@ describe('module \'' + ID + '\'', function () {
|
||||
it('works', function () {
|
||||
|
||||
var instance = this.applyFn();
|
||||
var themes = this.xSettings.appHref + 'client/images/themes/';
|
||||
var themes = this.xSettings.appHref + 'public/images/themes/';
|
||||
|
||||
assert.strictEqual(instance.icon(''), themes + 'default/file.svg');
|
||||
assert.strictEqual(instance.icon('a'), themes + 'myTheme/a.svg');
|
||||
|
Reference in New Issue
Block a user