Skip to content

Commit e9a5a62

Browse files
committed
Correct test names: 'at' endpoint
1 parent 692101b commit e9a5a62

File tree

13 files changed

+38
-38
lines changed

13 files changed

+38
-38
lines changed

test/JsonApiDotNetCoreTests/IntegrationTests/AtomicOperations/Mixed/AtomicSerializationTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
128128
}
129129

130130
[Fact]
131-
public async Task Includes_version_with_ext_on_error_in_operations_endpoint()
131+
public async Task Includes_version_with_ext_on_error_at_operations_endpoint()
132132
{
133133
// Arrange
134134
string musicTrackId = Unknown.StringId.For<MusicTrack, Guid>();

test/JsonApiDotNetCoreTests/IntegrationTests/AtomicOperations/QueryStrings/AtomicQueryStringTests.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public AtomicQueryStringTests(IntegrationTestContext<TestableStartup<OperationsD
2929
}
3030

3131
[Fact]
32-
public async Task Cannot_include_on_operations_endpoint()
32+
public async Task Cannot_include_at_operations_endpoint()
3333
{
3434
// Arrange
3535
var requestBody = new
@@ -69,7 +69,7 @@ public async Task Cannot_include_on_operations_endpoint()
6969
}
7070

7171
[Fact]
72-
public async Task Cannot_filter_on_operations_endpoint()
72+
public async Task Cannot_filter_at_operations_endpoint()
7373
{
7474
// Arrange
7575
var requestBody = new
@@ -109,7 +109,7 @@ public async Task Cannot_filter_on_operations_endpoint()
109109
}
110110

111111
[Fact]
112-
public async Task Cannot_sort_on_operations_endpoint()
112+
public async Task Cannot_sort_at_operations_endpoint()
113113
{
114114
// Arrange
115115
var requestBody = new
@@ -149,7 +149,7 @@ public async Task Cannot_sort_on_operations_endpoint()
149149
}
150150

151151
[Fact]
152-
public async Task Cannot_use_pagination_number_on_operations_endpoint()
152+
public async Task Cannot_use_pagination_number_at_operations_endpoint()
153153
{
154154
// Arrange
155155
var requestBody = new
@@ -189,7 +189,7 @@ public async Task Cannot_use_pagination_number_on_operations_endpoint()
189189
}
190190

191191
[Fact]
192-
public async Task Cannot_use_pagination_size_on_operations_endpoint()
192+
public async Task Cannot_use_pagination_size_at_operations_endpoint()
193193
{
194194
// Arrange
195195
var requestBody = new
@@ -229,7 +229,7 @@ public async Task Cannot_use_pagination_size_on_operations_endpoint()
229229
}
230230

231231
[Fact]
232-
public async Task Cannot_use_sparse_fieldset_on_operations_endpoint()
232+
public async Task Cannot_use_sparse_fieldset_at_operations_endpoint()
233233
{
234234
// Arrange
235235
var requestBody = new
@@ -269,7 +269,7 @@ public async Task Cannot_use_sparse_fieldset_on_operations_endpoint()
269269
}
270270

271271
[Fact]
272-
public async Task Can_use_Queryable_handler_on_resource_endpoint()
272+
public async Task Can_use_Queryable_handler_at_resource_endpoint()
273273
{
274274
// Arrange
275275
var clock = _testContext.Factory.Services.GetRequiredService<ISystemClock>();
@@ -299,7 +299,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
299299
}
300300

301301
[Fact]
302-
public async Task Cannot_use_Queryable_handler_on_operations_endpoint()
302+
public async Task Cannot_use_Queryable_handler_at_operations_endpoint()
303303
{
304304
// Arrange
305305
string newTrackTitle = _fakers.MusicTrack.Generate().Title;

test/JsonApiDotNetCoreTests/IntegrationTests/InputValidation/ModelState/NoModelStateValidationTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
8787
}
8888

8989
[Fact]
90-
public async Task Cannot_clear_required_OneToOne_relationship_through_primary_endpoint()
90+
public async Task Cannot_clear_required_OneToOne_relationship_at_primary_endpoint()
9191
{
9292
// Arrange
9393
SystemVolume existingVolume = _fakers.SystemVolume.Generate();

test/JsonApiDotNetCoreTests/IntegrationTests/Meta/TopLevelCountTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public TopLevelCountTests(IntegrationTestContext<TestableStartup<MetaDbContext>,
3131
}
3232

3333
[Fact]
34-
public async Task Renders_resource_count_for_primary_resources_endpoint_with_filter()
34+
public async Task Renders_resource_count_at_primary_resources_endpoint_with_filter()
3535
{
3636
// Arrange
3737
List<SupportTicket> tickets = _fakers.SupportTicket.Generate(2);
@@ -57,7 +57,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
5757
}
5858

5959
[Fact]
60-
public async Task Renders_resource_count_for_secondary_resources_endpoint_with_filter()
60+
public async Task Renders_resource_count_at_secondary_resources_endpoint_with_filter()
6161
{
6262
// Arrange
6363
ProductFamily family = _fakers.ProductFamily.Generate();

test/JsonApiDotNetCoreTests/IntegrationTests/QueryStrings/Filtering/FilterDepthTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
5555
}
5656

5757
[Fact]
58-
public async Task Cannot_filter_in_single_primary_resource()
58+
public async Task Cannot_filter_in_primary_resource()
5959
{
6060
// Arrange
6161
BlogPost post = _fakers.BlogPost.Generate();
@@ -112,7 +112,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
112112
}
113113

114114
[Fact]
115-
public async Task Cannot_filter_in_single_secondary_resource()
115+
public async Task Cannot_filter_in_secondary_resource()
116116
{
117117
// Arrange
118118
BlogPost post = _fakers.BlogPost.Generate();
@@ -317,7 +317,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
317317
}
318318

319319
[Fact]
320-
public async Task Can_filter_in_scope_of_OneToMany_relationship_on_secondary_endpoint()
320+
public async Task Can_filter_in_scope_of_OneToMany_relationship_at_secondary_endpoint()
321321
{
322322
// Arrange
323323
Blog blog = _fakers.Blog.Generate();

test/JsonApiDotNetCoreTests/IntegrationTests/QueryStrings/Includes/IncludeTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
256256
}
257257

258258
[Fact]
259-
public async Task Can_include_ManyToMany_relationship_on_secondary_endpoint()
259+
public async Task Can_include_ManyToMany_relationship_at_secondary_endpoint()
260260
{
261261
// Arrange
262262
BlogPost post = _fakers.BlogPost.Generate();

test/JsonApiDotNetCoreTests/IntegrationTests/QueryStrings/Pagination/PaginationWithTotalCountTests.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
6666
}
6767

6868
[Fact]
69-
public async Task Cannot_paginate_in_single_primary_endpoint()
69+
public async Task Cannot_paginate_in_primary_resource()
7070
{
7171
// Arrange
7272
BlogPost post = _fakers.BlogPost.Generate();
@@ -163,7 +163,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
163163
}
164164

165165
[Fact]
166-
public async Task Cannot_paginate_in_single_secondary_endpoint()
166+
public async Task Cannot_paginate_in_secondary_resource()
167167
{
168168
// Arrange
169169
BlogPost post = _fakers.BlogPost.Generate();
@@ -230,7 +230,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
230230
}
231231

232232
[Fact]
233-
public async Task Can_paginate_in_scope_of_OneToMany_relationship_on_secondary_endpoint()
233+
public async Task Can_paginate_in_scope_of_OneToMany_relationship_at_secondary_endpoint()
234234
{
235235
// Arrange
236236
Blog blog = _fakers.Blog.Generate();
@@ -264,7 +264,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
264264
}
265265

266266
[Fact]
267-
public async Task Can_paginate_OneToMany_relationship_on_relationship_endpoint()
267+
public async Task Can_paginate_OneToMany_relationship_at_relationship_endpoint()
268268
{
269269
// Arrange
270270
Blog blog = _fakers.Blog.Generate();
@@ -296,7 +296,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
296296
}
297297

298298
[Fact]
299-
public async Task Can_paginate_OneToMany_relationship_on_relationship_endpoint_without_inverse_relationship()
299+
public async Task Can_paginate_OneToMany_relationship_at_relationship_endpoint_without_inverse_relationship()
300300
{
301301
// Arrange
302302
WebAccount? account = _fakers.WebAccount.Generate();
@@ -367,7 +367,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
367367
}
368368

369369
[Fact]
370-
public async Task Can_paginate_ManyToMany_relationship_on_relationship_endpoint()
370+
public async Task Can_paginate_ManyToMany_relationship_at_relationship_endpoint()
371371
{
372372
// Arrange
373373
BlogPost post = _fakers.BlogPost.Generate();

test/JsonApiDotNetCoreTests/IntegrationTests/QueryStrings/Pagination/PaginationWithoutTotalCountTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
170170
}
171171

172172
[Fact]
173-
public async Task Renders_pagination_links_when_page_number_is_specified_in_query_string_with_full_page_on_secondary_endpoint()
173+
public async Task Renders_pagination_links_when_page_number_is_specified_in_query_string_with_full_page_at_secondary_endpoint()
174174
{
175175
// Arrange
176176
WebAccount account = _fakers.WebAccount.Generate();

test/JsonApiDotNetCoreTests/IntegrationTests/QueryStrings/Sorting/SortTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
5454
}
5555

5656
[Fact]
57-
public async Task Cannot_sort_in_single_primary_resource()
57+
public async Task Cannot_sort_in_primary_resource()
5858
{
5959
// Arrange
6060
BlogPost post = _fakers.BlogPost.Generate();
@@ -114,7 +114,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
114114
}
115115

116116
[Fact]
117-
public async Task Cannot_sort_in_single_secondary_resource()
117+
public async Task Cannot_sort_in_secondary_resource()
118118
{
119119
// Arrange
120120
BlogPost post = _fakers.BlogPost.Generate();
@@ -233,7 +233,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
233233
}
234234

235235
[Fact]
236-
public async Task Can_sort_in_scope_of_OneToMany_relationship_on_secondary_endpoint()
236+
public async Task Can_sort_in_scope_of_OneToMany_relationship_at_secondary_endpoint()
237237
{
238238
// Arrange
239239
Blog blog = _fakers.Blog.Generate();

test/JsonApiDotNetCoreTests/IntegrationTests/QueryStrings/SparseFieldSets/SparseFieldSetTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
371371
}
372372

373373
[Fact]
374-
public async Task Can_select_fields_of_OneToMany_relationship_on_secondary_endpoint()
374+
public async Task Can_select_fields_of_OneToMany_relationship_at_secondary_endpoint()
375375
{
376376
// Arrange
377377
var store = _testContext.Factory.Services.GetRequiredService<ResourceCaptureStore>();

0 commit comments

Comments
 (0)