+1
-1
@@ -100,7 +100,7 @@ public class ModelResourceExceptionalTests : IAsyncLifetime
|
||||
.Invoking(async () => await Sut.Update(input))
|
||||
.Should()
|
||||
.ThrowAsync<AggregateException>();
|
||||
ex.WithInnerExceptionExactly<SpeckleGraphQLForbiddenException>();
|
||||
ex.WithInnerExceptionExactly<SpeckleGraphQLStreamNotFoundException>();
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
||||
+1
-1
@@ -73,7 +73,7 @@ public class ProjectResourceExceptionalTests : IAsyncLifetime
|
||||
var ex = await Assert.ThrowsAsync<AggregateException>(
|
||||
async () => _ = await Sut.Update(new("NonExistentProject", "My new name"))
|
||||
);
|
||||
ex.InnerExceptions.Single().Should().BeOfType<SpeckleGraphQLForbiddenException>();
|
||||
ex.InnerExceptions.Single().Should().BeOfType<SpeckleGraphQLStreamNotFoundException>();
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
||||
Reference in New Issue
Block a user