Skip to content

Commit 804464d

Browse files
author
Bart Koelman
committed
Fixed broken test on linux
1 parent 3c511fd commit 804464d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/JsonApiDotNetCoreTests/IntegrationTests/ExceptionHandling/ExceptionHandlerTests.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
150150
error.Detail.Should().Be("Exception has been thrown by the target of an invocation.");
151151

152152
IEnumerable<string> stackTraceLines = ((JsonElement)error.Meta["stackTrace"]).EnumerateArray().Select(token => token.GetString());
153-
stackTraceLines.Should().ContainMatch("*at object System.Reflection.*");
153+
stackTraceLines.Should().ContainMatch("*ThrowingArticle*");
154154

155155
responseDocument.Meta.Should().BeNull();
156156

0 commit comments

Comments
 (0)