Skip to content

Commit

Permalink
ユーザープロファイルにemailフィールドを追加し、関連するテストを更新しました
Browse files Browse the repository at this point in the history
  • Loading branch information
ttizze committed Feb 5, 2025
1 parent 7fbfad6 commit fd0f13b
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions web/app/features/translate/lib/translate.server.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ describe("translate関数の単体テスト (Gemini呼び出しのみモック)"
handle: "testuser",
name: "testuser",
image: "testuser",
email: "[email protected]",
},
});
userId = user.id;
Expand Down
2 changes: 2 additions & 0 deletions web/app/routes/$locale+/user.$handle+/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ describe("UserProfile", () => {
name: "Test User",
image: "https://example.com/image.jpg",
profile: "This is a test profile",
email: "[email protected]",
pages: {
create: [
{
Expand Down Expand Up @@ -72,6 +73,7 @@ describe("UserProfile", () => {
name: "Test User2",
image: "https://example.com/image2.jpg",
profile: "This is a test profile2",
email: "[email protected]",
},
});
testUser = createdUser;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ describe("EditPage", () => {
name: "Test User",
image: "https://example.com/image.jpg",
profile: "This is a test profile",
email: "[email protected]",
pages: {
create: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ describe("processHtmlContent", () => {
handle: "htmltester",
name: "htmltester",
image: "htmltester",
email: "[email protected]",
},
update: {},
});
Expand Down Expand Up @@ -80,6 +81,7 @@ describe("processHtmlContent", () => {
handle: "htmleditor",
name: "htmleditor",
image: "htmleditor",
email: "[email protected]",
},
update: {},
});
Expand Down Expand Up @@ -175,6 +177,7 @@ describe("processHtmlContent", () => {
handle: "titleduplicateuser",
name: "titleduplicateuser",
image: "titleduplicateuser",
email: "[email protected]",
},
update: {},
});
Expand Down Expand Up @@ -253,6 +256,7 @@ describe("processHtmlContent", () => {
handle: "noedit",
name: "noedit",
image: "noedit",
email: "[email protected]",
},
update: {},
});
Expand Down Expand Up @@ -315,6 +319,7 @@ describe("processHtmlContent", () => {
handle: "imagetester",
name: "imagetester",
image: "imagetester",
email: "[email protected]",
},
update: {},
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ describe("toggleLike 実際のDB統合テスト", () => {
name: "Test User",
image: "https://example.com/image.jpg",
profile: "This is a test profile",
email: "[email protected]",
pages: {
create: [
{
Expand Down
4 changes: 4 additions & 0 deletions web/scripts/processMarkdownContent.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ This is another test.
handle: "test",
name: "test",
image: "test",
email: "[email protected]",
},
update: {},
});
Expand Down Expand Up @@ -95,6 +96,7 @@ This is another line.
handle: "editor",
name: "editor",
image: "editor",
email: "[email protected]",
},
update: {},
});
Expand Down Expand Up @@ -210,6 +212,7 @@ new line
handle: "variety",
name: "variety",
image: "variety",
email: "[email protected]",
},
update: {},
});
Expand Down Expand Up @@ -281,6 +284,7 @@ new line
handle: "variety",
name: "variety",
image: "variety",
email: "[email protected]",
},
update: {},
});
Expand Down

0 comments on commit fd0f13b

Please sign in to comment.