Skip to content

Commit 98da227

Browse files
committed
Updated all sections of the tutorial
1 parent 32510e9 commit 98da227

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

docs/_docfx/tutorial/extensionmethods.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,14 @@ We remove the magic string:
9595
We need to extend the **"IControllerActionAttributesTestBuilder<TAttributesTestBuilder>"** interface. Add **"ControllerActionAttributeExtensions"** class with the following code in it:
9696

9797
```c#
98+
using MyTested.AspNetCore.Mvc;
9899
using MyTested.AspNetCore.Mvc.Builders.Contracts.Attributes;
99100

100101
public static class ControllerActionAttributeExtensions
101102
{
102103
public static TAttributesTestBuilder SpecifyingAdminArea<TAttributesTestBuilder>(
103104
this IControllerActionAttributesTestBuilder<TAttributesTestBuilder> builder)
104-
where TAttributesTestBuilder : IBaseAttributesTestBuilder<TAttributesTestBuilder>
105+
where TAttributesTestBuilder : IControllerActionAttributesTestBuilder<TAttributesTestBuilder>
105106
=> builder.SpecifyingArea("Admin");
106107
}
107108
```

docs/_docfx/tutorial/testconfig.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Test Configuration
22

3-
In this section we are going to examine the test configuration or the **"testconfig.json"** file we used to provide a license key for the library.
3+
In this section we are going to examine the test configuration or the **"testsettings.json"** file we used to provide a license key for the library.
44

55
## Startup class
66

@@ -43,6 +43,7 @@ Various general settings are available for you to explore:
4343
"AsynchronousTests": false,
4444
"WebAssemblyName": "MyApp",
4545
"TestAssemblyName": "MyApp.Test",
46+
"AutomaticApplicationParts": true
4647
}
4748
}
4849
```
1.87 KB
Binary file not shown.

0 commit comments

Comments
 (0)