You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/README.md
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2526,9 +2526,8 @@ MyWebApi.Server().Stops();
2526
2526
You can test over the full pipeline by providing OWIN start up class and optional network host and post. You can start global HTTP server in your test/class/assembly initialize method and set test cases with different requests or just instantiate separate server for each test:
2527
2527
2528
2528
```c#
2529
-
// starts OWIN web server with the provided host and port. If such are not provided, default is "http://localhost:1234"
2529
+
// starts OWIN web server with the provided host and port. If such are not provided, default is "http://localhost:80"
2530
2530
// * the server is disposed after the test
2531
-
// * some hosts and ports may require administrator rights
2532
2531
// * HTTP request can be set just like in the controller unit tests
2533
2532
// * HTTP response can be tested just like in the controller unit tests
2534
2533
MyWebApi
@@ -2544,7 +2543,7 @@ MyWebApi
2544
2543
// starts OWIN server with specific
2545
2544
// for the test Startup class
2546
2545
// * the server is disposed after the test
2547
-
// * since host and port are not provided, the default "http://localhost:1234" is used
2546
+
// * since host and port are not provided, the default "http://localhost:80" is used
2548
2547
MyWebApi
2549
2548
.Server()
2550
2549
.Working<Startup>() // working will instantiate new OWIN server with the specified Startup class
0 commit comments