-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feature(User) : profile image add * fix(User) : add image upload and add server information * feat(User) : get user information add image url to method * fix (Test) : fix get user information test
- Loading branch information
1 parent
fa7198e
commit 9d43d37
Showing
9 changed files
with
33 additions
and
19 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
.../20240907083616_InitialCreate.Designer.cs → .../20240907084605_InitialCreate.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -279,7 +279,7 @@ protected override void Up(MigrationBuilder migrationBuilder) | |
migrationBuilder.InsertData( | ||
table: "Users", | ||
columns: new[] { "Id", "Email", "FirstName", "ImageURL", "LastName", "Password", "PhoneNumber", "RoleId", "Username" }, | ||
values: new object[] { new Guid("12cb995a-4885-4ec3-9a3b-126b0ff89602"), "[email protected]", "admin", null, "admin", "jGl25bVBBBW96Qi9Te4V37Fnqchz/Eu4qB9vKrRIqRg=", "09131111111", 1, "admin" }); | ||
values: new object[] { new Guid("8ab41e25-44bb-4b43-aa2f-6f697edd425f"), "[email protected]", "admin", null, "admin", "jGl25bVBBBW96Qi9Te4V37Fnqchz/Eu4qB9vKrRIqRg=", "09131111111", 1, "admin" }); | ||
|
||
migrationBuilder.CreateIndex( | ||
name: "IX_EntityEdges_EntityIDSource", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -335,7 +335,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) | |
b.HasData( | ||
new | ||
{ | ||
Id = new Guid("12cb995a-4885-4ec3-9a3b-126b0ff89602"), | ||
Id = new Guid("8ab41e25-44bb-4b43-aa2f-6f697edd425f"), | ||
Email = "[email protected]", | ||
FirstName = "admin", | ||
LastName = "admin", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -266,7 +266,9 @@ public async Task GetUserInformation_ShouldReturnOk_WhenUserExist() | |
FirstName = "test", | ||
LastName = "test", | ||
Email = "[email protected]", | ||
PhoneNumber = "09111111111" | ||
PhoneNumber = "09111111111", | ||
Image = "User do not have information yet !" | ||
|
||
}); | ||
Assert.Equal(expectedResponseContent, responseContent); | ||
|
||
|