@@ -72,7 +72,7 @@ public async Task Can_filter_resources_by_ID()
7272 await _testContext . RunOnDatabaseAsync ( async dbContext =>
7373 {
7474 await dbContext . ClearTableAsync < PostOffice > ( ) ;
75- dbContext . PostOffice . AddRange ( postOffices ) ;
75+ dbContext . PostOffices . AddRange ( postOffices ) ;
7676 await dbContext . SaveChangesAsync ( ) ;
7777 } ) ;
7878
@@ -133,7 +133,7 @@ public async Task Can_create_resource_with_ToOne_relationship_and_include()
133133
134134 await _testContext . RunOnDatabaseAsync ( async dbContext =>
135135 {
136- dbContext . PostOffice . Add ( existingOffice ) ;
136+ dbContext . PostOffices . Add ( existingOffice ) ;
137137 await dbContext . SaveChangesAsync ( ) ;
138138 } ) ;
139139
@@ -216,7 +216,7 @@ public async Task Can_update_resource_with_ToMany_relationship()
216216
217217 await _testContext . RunOnDatabaseAsync ( async dbContext =>
218218 {
219- dbContext . PostOffice . Add ( existingOffice ) ;
219+ dbContext . PostOffices . Add ( existingOffice ) ;
220220 await dbContext . SaveChangesAsync ( ) ;
221221 } ) ;
222222
@@ -259,7 +259,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
259259
260260 await _testContext . RunOnDatabaseAsync ( async dbContext =>
261261 {
262- PostOffice officeInDatabase = await dbContext . PostOffice . Include ( postOffice => postOffice . GiftCertificates ) . FirstWithIdAsync ( existingOffice . Id ) ;
262+ PostOffice officeInDatabase = await dbContext . PostOffices . Include ( postOffice => postOffice . GiftCertificates ) . FirstWithIdAsync ( existingOffice . Id ) ;
263263
264264 officeInDatabase . Address . Should ( ) . Be ( newAddress ) ;
265265
@@ -276,7 +276,7 @@ public async Task Can_delete_resource()
276276
277277 await _testContext . RunOnDatabaseAsync ( async dbContext =>
278278 {
279- dbContext . PostOffice . Add ( existingOffice ) ;
279+ dbContext . PostOffices . Add ( existingOffice ) ;
280280 await dbContext . SaveChangesAsync ( ) ;
281281 } ) ;
282282
@@ -292,7 +292,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
292292
293293 await _testContext . RunOnDatabaseAsync ( async dbContext =>
294294 {
295- PostOffice ? officeInDatabase = await dbContext . PostOffice . FirstWithIdOrDefaultAsync ( existingOffice . Id ) ;
295+ PostOffice ? officeInDatabase = await dbContext . PostOffices . FirstWithIdOrDefaultAsync ( existingOffice . Id ) ;
296296
297297 officeInDatabase . Should ( ) . BeNull ( ) ;
298298 } ) ;
@@ -359,7 +359,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
359359
360360 await _testContext . RunOnDatabaseAsync ( async dbContext =>
361361 {
362- PostOffice officeInDatabase = await dbContext . PostOffice . Include ( postOffice => postOffice . GiftCertificates ) . FirstWithIdAsync ( existingOffice . Id ) ;
362+ PostOffice officeInDatabase = await dbContext . PostOffices . Include ( postOffice => postOffice . GiftCertificates ) . FirstWithIdAsync ( existingOffice . Id ) ;
363363
364364 officeInDatabase . GiftCertificates . ShouldHaveCount ( 2 ) ;
365365 } ) ;
0 commit comments