Update unit tests
authorMichael Ang <mang@archive.org>
Thu, 29 Apr 2010 21:36:46 +0000 (21:36 +0000)
committerMichael Ang <mang@archive.org>
Thu, 29 Apr 2010 21:36:46 +0000 (21:36 +0000)
BookReaderIA/test/unit/Common.js
BookReaderIA/test/unit/Preview.js

index 3d6d396..0a5f8bd 100644 (file)
@@ -2,8 +2,8 @@
 
 // $$$ TODO make test host auto-magic
 common = {
-    // testHost: 'http://www-testflip.archive.org'
-    testHost: 'http://www-mang.archive.org'    
+    testHost: 'http://www-testflip.archive.org'
+    //testHost: 'http://www-mang.archive.org'    
 }
 
 // Set up dummy BookReader class for JSLocate
index b7222b8..d83bece 100644 (file)
@@ -4,7 +4,7 @@
 
 module("Preview");
 
-function Book(identifier, previewWidth, coverWidth, titleWidth, bookId = undefined) {
+function Book(identifier, previewWidth, coverWidth, titleWidth, bookId) {
     this.identifier = identifier;
     this.previewWidth = previewWidth;
     this.coverWidth = coverWidth;