Skip to content

Commit c2a0f23

Browse files
committed
Epic typo
1 parent c86d057 commit c2a0f23

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

RefreshTests.GameServer/Tests/ApiV3/DisallowanceApiTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public void DisallowGetAndReallowEmailAddress()
136136
string address = "thefunny@brickshitter.real";
137137

138138
// Ensure it's not already there
139-
Assert.That(context.Database.IsUserDisallowed(address), Is.False);
139+
Assert.That(context.Database.IsEmailAddressDisallowed(address), Is.False);
140140
ApiListResponse<ApiDisallowedEmailAddressResponse>? disallowedList = client.GetList<ApiDisallowedEmailAddressResponse>("/api/v3/admin/disallowed/emailAddresses");
141141
Assert.That(disallowedList?.Data, Is.Not.Null);
142142
Assert.That(disallowedList!.Data, Is.Empty);
@@ -163,7 +163,7 @@ public void DisallowGetAndReallowEmailAddress()
163163
context.Database.Refresh();
164164

165165
// Ensure it now appears in listings
166-
Assert.That(context.Database.IsUserDisallowed(address), Is.True);
166+
Assert.That(context.Database.IsEmailAddressDisallowed(address), Is.True);
167167
disallowedList = client.GetList<ApiDisallowedEmailAddressResponse>($"/api/v3/admin/disallowed/emailAddresses");
168168
Assert.That(disallowedList?.Data, Is.Not.Null);
169169
Assert.That(disallowedList!.Data!.Count(), Is.EqualTo(1));
@@ -174,7 +174,7 @@ public void DisallowGetAndReallowEmailAddress()
174174
context.Database.Refresh();
175175

176176
// Ensure it's no longer there
177-
Assert.That(context.Database.IsUserDisallowed(address), Is.False);
177+
Assert.That(context.Database.IsEmailAddressDisallowed(address), Is.False);
178178
disallowedList = client.GetList<ApiDisallowedEmailAddressResponse>($"/api/v3/admin/disallowed/emailAddresses");
179179
Assert.That(disallowedList?.Data, Is.Not.Null);
180180
Assert.That(disallowedList!.Data, Is.Empty);

0 commit comments

Comments
 (0)