From 9571ffe6658600be6d9bf89f731e2cc1f4d53328 Mon Sep 17 00:00:00 2001 From: Demis Bellot Date: Thu, 25 Jul 2024 20:39:51 +0800 Subject: [PATCH] Update Top1KQuestionTasks.cs --- MyApp.Tests/Top1KQuestionTasks.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/MyApp.Tests/Top1KQuestionTasks.cs b/MyApp.Tests/Top1KQuestionTasks.cs index aa7fe65..af68bd3 100644 --- a/MyApp.Tests/Top1KQuestionTasks.cs +++ b/MyApp.Tests/Top1KQuestionTasks.cs @@ -251,7 +251,11 @@ public async Task Create_Mistral_Nemo_User() UserName = "mistral-nemo", Email = "servicestack.mail+mistral-nemo@gmail.com", DisplayName = "Mistral NeMo", - ProfileUrl = "/profiles/mi/mistral-nemo/mistral-nemo.svg", + UserAuthProperties = new() + { + [nameof(ApplicationUser.Model)] = "mistral-nemo", + [nameof(ApplicationUser.ProfilePath)] = "/profiles/mi/mistral-nemo/mistral-nemo.svg", + }, Password = Environment.GetEnvironmentVariable("AUTH_SECRET"), }); api.Response.PrintDump();