From 19023f3ba72ad68eb40995ce4d7c0eacb4a3b96a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Mon, 28 Aug 2017 20:39:33 +0300 Subject: [PATCH] Fix unit test for AbpDesk. --- .../AbpDesk/AbpDeskApplicationTestModule.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/AbpDesk/AbpDesk.Application.Tests/AbpDesk/AbpDeskApplicationTestModule.cs b/test/AbpDesk/AbpDesk.Application.Tests/AbpDesk/AbpDeskApplicationTestModule.cs index 796df3eeb3..9b87238610 100644 --- a/test/AbpDesk/AbpDesk.Application.Tests/AbpDesk/AbpDeskApplicationTestModule.cs +++ b/test/AbpDesk/AbpDesk.Application.Tests/AbpDesk/AbpDeskApplicationTestModule.cs @@ -17,9 +17,11 @@ namespace AbpDesk { services.AddEntityFrameworkInMemoryDatabase(); + var connStr = Guid.NewGuid().ToString(); + services.Configure(options => { - options.ConnectionStrings.Default = Guid.NewGuid().ToString(); + options.ConnectionStrings.Default = connStr; }); services.Configure(options =>