diff --git a/frontend/tests/unit/model/photo_test.js b/frontend/tests/unit/model/photo_test.js index 8ba2af646..22f0bb63d 100644 --- a/frontend/tests/unit/model/photo_test.js +++ b/frontend/tests/unit/model/photo_test.js @@ -183,4 +183,14 @@ describe("model/photo", () => { assert.equal(result, "Canon EOSD10"); }); + it("should get collection resource", () => { + const result = Photo.getCollectionResource(); + assert.equal(result, "photos"); + }); + + it("should get model name", () => { + const result = Photo.getModelName(); + assert.equal(result, "Photo"); + }); + }); \ No newline at end of file