diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-15 18:33:18 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-15 18:33:18 +1300 |
commit | 122a9537ceede0474217e6af01838fa5592c776d (patch) | |
tree | e3e9b583a35ee4ddb7c9450d4631582a0bfa2c68 | |
parent | 98aeb9261b37dc174c37236292cb2d726937c3d5 (diff) | |
download | traccar-server-122a9537ceede0474217e6af01838fa5592c776d.tar.gz traccar-server-122a9537ceede0474217e6af01838fa5592c776d.tar.bz2 traccar-server-122a9537ceede0474217e6af01838fa5592c776d.zip |
Update siesta sanity unit test
-rw-r--r-- | web/tests.html | 4 | ||||
-rw-r--r-- | web/tests/010_sanity.t.js | 2 | ||||
-rw-r--r-- | web/tests/index.js | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/web/tests.html b/web/tests.html index 2e89e5e58..d20169242 100644 --- a/web/tests.html +++ b/web/tests.html @@ -2,9 +2,9 @@ <html> <head> <link rel="stylesheet" type="text/css" href="//cdn.sencha.com/ext/gpl/5.1.0/packages/ext-theme-crisp/build/resources/ext-theme-crisp-all.css" /> -<link rel="stylesheet" type="text/css" href="//cdn.traccar.org/siesta/siesta-3.1.0-lite/resources/css/siesta-all.css"> +<link rel="stylesheet" type="text/css" href="//cdn.traccar.org/siesta/siesta-4.0.0-lite/resources/css/siesta-all.css"> <script type="text/javascript" src="//cdn.sencha.com/ext/gpl/5.1.0/build/ext-all.js"></script> -<script type="text/javascript" src="//cdn.traccar.org/siesta/siesta-3.1.0-lite/siesta-all.js"></script> +<script type="text/javascript" src="//cdn.traccar.org/siesta/siesta-4.0.0-lite/siesta-all.js"></script> <script type="text/javascript" src="tests/index.js"></script> </head> <body> diff --git a/web/tests/010_sanity.t.js b/web/tests/010_sanity.t.js index b2773ee19..a7c732c20 100644 --- a/web/tests/010_sanity.t.js +++ b/web/tests/010_sanity.t.js @@ -8,7 +8,7 @@ StartTest(function (t) { t.ok(Traccar.Application, 'Traccar.Application is defined'); t.ok(Strings, 'Strings are defined'); - t.ok(Traccar.Styles, 'Traccar.Styles are defined'); + t.ok(Traccar.Style, 'Traccar.Style are defined'); t.done(); }); diff --git a/web/tests/index.js b/web/tests/index.js index a75d6e4df..8e502c269 100644 --- a/web/tests/index.js +++ b/web/tests/index.js @@ -1,6 +1,6 @@ -var Harness = Siesta.Harness.Browser.ExtJS; +var harness = new Siesta.Harness.Browser.ExtJS(); -Harness.configure({ +harness.configure({ title: 'Traccar Test Suite', preload: [ '//cdnjs.cloudflare.com/ajax/libs/extjs/6.0.0/ext-all.js', @@ -9,6 +9,6 @@ Harness.configure({ ] }); -Harness.start( +harness.start( 'tests/010_sanity.t.js' ); |