Skip to content

Commit 6b399e4

Browse files
committed
Update the tests
1 parent 73e09ed commit 6b399e4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/AuthorTest.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ describe("Author", () => {
2020
it("should return an initialized instance with a non-empty map", () => {
2121
const author = Author.fromJson({
2222
comment_author: "Cédric Belin",
23-
comment_author_email: "[email protected]",
23+
comment_author_email: "[email protected]",
2424
comment_author_url: "https://belin.io",
2525
user_agent: "Mozilla/5.0",
2626
user_ip: "127.0.0.1",
2727
user_role: "administrator"
2828
});
2929

30-
equal(author.email, "[email protected]");
30+
equal(author.email, "[email protected]");
3131
equal(author.ipAddress, "127.0.0.1");
3232
equal(author.role, AuthorRole.Administrator);
3333
ok(author.url instanceof URL);
@@ -45,7 +45,7 @@ describe("Author", () => {
4545

4646
it("should return a non-empty map with an initialized instance", () => {
4747
const json = new Author({
48-
48+
4949
ipAddress: "192.168.0.1",
5050
name: "Cédric Belin",
5151
url: "https://belin.io",
@@ -54,7 +54,7 @@ describe("Author", () => {
5454

5555
equal(Object.keys(json).length, 5);
5656
equal(json.comment_author, "Cédric Belin");
57-
equal(json.comment_author_email, "[email protected]");
57+
equal(json.comment_author_email, "[email protected]");
5858
equal(json.comment_author_url, "https://belin.io/");
5959
equal(json.user_agent, "Mozilla/5.0");
6060
equal(json.user_ip, "192.168.0.1");

0 commit comments

Comments
 (0)