- use valid `multipart/form-data` content type; include a `boundary` - correct expectations of `FormCollection` model binder's operation - restore tests actually skipped for either of the above reasons - add more tests with `ModelBindingResult.Model==null` and both `IsModelSet` values #### Remove test references to Won't Fix bug #2473 - restore #2473 tests; update test expectations - expect `null` composite results whenever binding fails #### Restore test skipped due to "#2646" - that issue does not exist; was likely #2466 or similar fixed bug #### Rename model binding tests that still mention ReturnsFalse or ReturnsTrue #### Minor src changes - remove unused variable and unnecessary nesting in `DefaultControllerActionArgumentBinder` - remove dangling mention of `[DefaultValue]` in `ComplexModelDtoModelBinder` #### nits: - remove empty delegates from some `GetOperationBindingContext` calls; `null` fine - do some `using` cleanup - combine two test methods in `KeyValuePairModelBinderTest` - name a few more arguments |
||
|---|---|---|
| .. | ||
| ControllerActionArgumentBinderTests.cs | ||
| ModelBindingHelperTest.cs | ||