From ac81d375c65ceba0abe1a645d11b87f80a762f96 Mon Sep 17 00:00:00 2001 From: Theresa Gresch Date: Wed, 14 Aug 2019 13:20:51 +0200 Subject: [PATCH] Correct datetime value in album test --- frontend/tests/unit/model/album_test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/tests/unit/model/album_test.js b/frontend/tests/unit/model/album_test.js index c72f0c097..0ed06db33 100644 --- a/frontend/tests/unit/model/album_test.js +++ b/frontend/tests/unit/model/album_test.js @@ -55,11 +55,11 @@ describe("model/album", () => { }); it("should get date string", () => { - const t = "2009-11-17 20:34:58.651387237 +0000 UTC"; + const t = "2012-07-08 14:45:39"; const values = {ID: 5, AlbumName: "Christmas 2019", AlbumSlug: "christmas-2019", CreatedAt: t}; const album = new Album(values); const result = album.getDateString(); - assert.equal(result, "November 17, 2009 8:34 PM"); + assert.equal(result, "July 8, 2012 2:45 PM"); }); it("should get model name", () => {