예제 #1
0
        public async Task RequestsStartingWithApiPassThrough()
        {
            _request.Path.Returns(new PathString("/api/path/to/somewhere"));
            await StartupExtensions.AuthenticateSPAFilesInternal(_request, _user, _challenge, _next);

            _nextWasCalled.Should().BeTrue();
            _challengeProperties.Should().BeNull();
        }