Fix LIKE errors in Fx44
In Fx44, SQL queries must use '?' with LIKE and cannot concatenate a placeholder string (e.g., 'foo%'). This is for Sqlite.jsm only, so it doesn't affect 4.0.
This commit is contained in:
parent
7c7ea6a66d
commit
9fb85a263a
4 changed files with 25 additions and 13 deletions
|
@ -56,6 +56,16 @@ describe("ZoteroPane", function() {
|
|||
})
|
||||
})
|
||||
|
||||
describe("#newCollection()", function () {
|
||||
it("should create a collection", function* () {
|
||||
var promise = waitForDialog();
|
||||
var id = yield zp.newCollection();
|
||||
yield promise;
|
||||
var collection = Zotero.Collections.get(id);
|
||||
assert.isTrue(collection.name.startsWith(Zotero.getString('pane.collections.untitled')));
|
||||
});
|
||||
});
|
||||
|
||||
describe("#itemSelected()", function () {
|
||||
it.skip("should update the item count", function* () {
|
||||
var collection = new Zotero.Collection;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue