Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing step to update dictionary for "No auth token is provided" #3

Open
hwilliams-bod opened this issue Nov 22, 2021 · 0 comments
Open

Comments

@hwilliams-bod
Copy link

ProviderStateMiddleware.cs

        public ProviderStateMiddleware(RequestDelegate next, IProductRepository repository)
        {
            _next = next;
            _repository = repository;
            _providerStates = new Dictionary<string, Action>
            {
                { "products exist", ProductsExist },
                { "no products exist", NoProductsExist },
                { "product with ID 11 does not exist", Product11DoesNotExist },
                { "product with ID 10 exists", Product10Exists },
//Should include                
                { "No auth token is provided", Product10Exists }
            };
        }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant