Skip to content

Commit

Permalink
added picsum links so broken image links don't show up in UI
Browse files Browse the repository at this point in the history
  • Loading branch information
mgroves committed Sep 28, 2023
1 parent b4dffd5 commit 8136d4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Conduit/Conduit.Tests/TestHelpers/Data/UserHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public static User CreateUser(
username ??= "user-" + Path.GetRandomFileName();
email ??= "email-" + Path.GetRandomFileName() + "@example.net";
bio ??= "Lorem Ipsum bio " + Path.GetRandomFileName();
image ??= "http://example.net/" + Path.GetRandomFileName() + ".jpg";
image ??= $"https://picsum.photos/seed/{Path.GetRandomFileName()}/400.jpg";
password ??= "ValidPassword1#-" + Path.GetRandomFileName();

var authService = AuthServiceHelper.Create();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public static UpdateUserSubmitModel Create(
username ??= "username-" + random.String(10);
bio ??= "lorem ipsum bio " + random.String(256);
email ??= "email-" + random.String(10) + "@example.net";
image ??= "https://example.net/" + random.String(10) + ".jpg";
image ??= $"https://picsum.photos/seed/{Path.GetRandomFileName()}/400.jpg";
password ??= "ValidPassword1!" + random.String(10);

var model = new UpdateUserSubmitModel
Expand Down

0 comments on commit 8136d4f

Please sign in to comment.