53 references to StatusCode
Microsoft.AspNetCore.Mvc.FunctionalTests (53)
ApiExplorerTest.cs (53)
471Assert.Equal(204, responseType.StatusCode); 491Assert.Equal(200, responseType.StatusCode); 535Assert.Equal(200, responseType.StatusCode); 557Assert.Equal(200, responseType.StatusCode); 579Assert.Equal(200, responseType.StatusCode); 601Assert.Equal(200, responseType.StatusCode); 626Assert.Equal(201, responseType.StatusCode); 632Assert.Equal(400, responseType.StatusCode); 658Assert.Equal(201, responseType.StatusCode); 664Assert.Equal(400, responseType.StatusCode); 690Assert.Equal(200, responseType.StatusCode); 696Assert.Equal(400, responseType.StatusCode); 722Assert.Equal(200, responseType.StatusCode); 728Assert.Equal(400, responseType.StatusCode); 751description.SupportedResponseTypes.OrderBy(responseType => responseType.StatusCode), 755Assert.Equal(200, responseType.StatusCode); 762Assert.Equal(500, responseType.StatusCode); 788description.SupportedResponseTypes.OrderBy(responseType => responseType.StatusCode), 792Assert.Equal(200, responseType.StatusCode); 798Assert.Equal(500, responseType.StatusCode); 823description.SupportedResponseTypes.OrderBy(responseType => responseType.StatusCode), 827Assert.Equal(200, responseType.StatusCode); 833Assert.Equal(500, responseType.StatusCode); 933Assert.Equal(200, responseType.StatusCode); 1246description.SupportedResponseTypes.OrderBy(r => r.StatusCode), 1250Assert.Equal(200, responseType.StatusCode); 1275description.SupportedResponseTypes.OrderBy(r => r.StatusCode), 1283Assert.Equal(200, responseType.StatusCode); 1289Assert.Equal(404, responseType.StatusCode); 1309description.SupportedResponseTypes.OrderBy(r => r.StatusCode), 1313Assert.Equal(200, responseType.StatusCode); 1335description.SupportedResponseTypes.OrderBy(r => r.StatusCode), 1339Assert.Equal(202, responseType.StatusCode); 1345Assert.Equal(403, responseType.StatusCode); 1366description.SupportedResponseTypes.OrderBy(r => r.StatusCode), 1374Assert.Equal(201, responseType.StatusCode); 1380Assert.Equal(400, responseType.StatusCode); 1401description.SupportedResponseTypes.OrderBy(r => r.StatusCode), 1409Assert.Equal(201, responseType.StatusCode); 1415Assert.Equal(400, responseType.StatusCode); 1436description.SupportedResponseTypes.OrderBy(r => r.StatusCode), 1444Assert.Equal(204, responseType.StatusCode); 1450Assert.Equal(400, responseType.StatusCode); 1456Assert.Equal(404, responseType.StatusCode); 1476description.SupportedResponseTypes.OrderBy(r => r.StatusCode), 1484Assert.Equal(200, responseType.StatusCode); 1490Assert.Equal(400, responseType.StatusCode); 1496Assert.Equal(404, responseType.StatusCode); 1517description.SupportedResponseTypes.OrderBy(r => r.StatusCode), 1521Assert.Equal(302, responseType.StatusCode); 1527Assert.Equal(409, responseType.StatusCode); 1546description.SupportedResponseTypes.OrderBy(r => r.StatusCode), 1550Assert.Equal(401, responseType.StatusCode);