mirror of
https://github.com/photoprism/photoprism.git
synced 2026-01-23 02:24:24 +00:00
Frontend: Update test assertions in uni/model/rest_test.js #3168
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
0322d7c911
commit
b79d219079
1 changed files with 2 additions and 2 deletions
|
|
@ -158,8 +158,8 @@ describe("model/abstract", () => {
|
|||
const values = { ID: 5, Name: "Christmas 2019", Slug: "christmas-2019", UID: 66 };
|
||||
const album = new Album(values);
|
||||
const result = Rest.limit();
|
||||
assert.equal(result, 10000);
|
||||
assert.equal(album.constructor.limit(), 10000);
|
||||
assert.equal(result, 100000);
|
||||
assert.equal(album.constructor.limit(), 100000);
|
||||
});
|
||||
|
||||
it("should create link", async () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue