Jamie Taylor
Jamie Taylor
An xunit test class library has been added. However the services, contexts and helpers need to be mocked to ensure that we are properly testing everything
Add unit tests for db model to view model mappers (i.e BookViewModelHelper) Example: var new dbModel { prop = value, }; var viewModel = dbToViewModelMapper(dbModel); Assert.AreEqual(value, viewModel.value, $"{nameof(viewModel.value)} should be...
Since I've moved this project to .NET core 2.1 (2.1.301), the xunit test runner no longer runs. It quits out with an error: > Detecting target frameworks in dwCheckApi.Tests.csproj... Building...
Due to an update to [Security Headers](https://securityheaders.com/) (see footnote), which is a tool that a lot of users use to check their website security headers, this header should be implemented...
I hadn't thought of this. I'll have to take a look into how Azure Function bindings work. Thanks for the suggestion @dalestone !
Added the waiting on contributor label as @aspittel has asked @bhirmbani for a small change.
> Unfortunately, I've gotten a lot of trolls both submitting and sending rude communication about this project One way around this might be to have a bot service look at...
I believe that you could use the image in [this comment](https://github.com/aspittel/learn-code-from-us/pull/88#issuecomment-434823715). but you might have to crop or resize the canvas first. @aspittel is the above comment the best place...
Apologies for not seeing this earlier (I really must check through my email notification settings on here, but that's another story). @punkouter2018 which branch where you using, and have you...
I think this is related to their not being a UserManager injected in the services. I'm planning on re-creating this repo from scratch (in a branch) soon, as I've done...