Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
CleanArchitecture
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
CleanArchitecture
Commits
1e4522aa
Commit
1e4522aa
authored
Jun 01, 2018
by
Scott DePouw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BaseDirectory is now in a new location. Web integration tests currently fail.
parent
c7a482cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
BaseWebTest.cs
tests/CleanArchitecture.Tests/Integration/Web/BaseWebTest.cs
+2
-2
No files found.
tests/CleanArchitecture.Tests/Integration/Web/BaseWebTest.cs
View file @
1e4522aa
...
@@ -5,7 +5,6 @@ using Microsoft.AspNetCore.Mvc.Controllers;
...
@@ -5,7 +5,6 @@ using Microsoft.AspNetCore.Mvc.Controllers;
using
Microsoft.AspNetCore.Mvc.ViewComponents
;
using
Microsoft.AspNetCore.Mvc.ViewComponents
;
using
Microsoft.AspNetCore.TestHost
;
using
Microsoft.AspNetCore.TestHost
;
using
Microsoft.Extensions.DependencyInjection
;
using
Microsoft.Extensions.DependencyInjection
;
using
Microsoft.Extensions.PlatformAbstractions
;
using
System
;
using
System
;
using
System.IO
;
using
System.IO
;
using
System.Net.Http
;
using
System.Net.Http
;
...
@@ -67,7 +66,8 @@ namespace CleanArchitecture.Tests.Integration.Web
...
@@ -67,7 +66,8 @@ namespace CleanArchitecture.Tests.Integration.Web
var
projectName
=
startupAssembly
.
GetName
().
Name
;
var
projectName
=
startupAssembly
.
GetName
().
Name
;
// Get currently executing test project path
// Get currently executing test project path
var
applicationBasePath
=
PlatformServices
.
Default
.
Application
.
ApplicationBasePath
;
// AppContext.BaseDirectory or AppDomain.CurrentDomain.BaseDirectory contain the BaseDirectory.
var
applicationBasePath
=
AppContext
.
BaseDirectory
;
// Find the folder which contains the solution file. We then use this information to find the target
// Find the folder which contains the solution file. We then use this information to find the target
// project which we want to test.
// project which we want to test.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment