Skip to content

Commit 53a6b59

Browse files
test: Remove notification_email test because of business logic has changed (box/box-codegen#677) (#423)
1 parent bec855f commit 53a6b59

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

.codegen.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{ "engineHash": "91ccaf2", "specHash": "6782a0d", "version": "1.8.0" }
1+
{ "engineHash": "8f5e41b", "specHash": "6782a0d", "version": "1.8.0" }

Box.Sdk.Gen.Tests.Integration/Test/Users/UsersManagerTests.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,5 @@ public async System.Threading.Tasks.Task TestCreateUpdateGetDeleteUser() {
3838
await client.Users.DeleteUserByIdAsync(userId: user.Id);
3939
}
4040

41-
[TestMethod]
42-
public async System.Threading.Tasks.Task TestUserNotificationEmail() {
43-
string userName = Utils.GetUUID();
44-
string userLogin = string.Concat(Utils.GetUUID(), "@gmail.com");
45-
UserFull user = await client.Users.CreateUserAsync(requestBody: new CreateUserRequestBody(name: userName) { Login = userLogin, IsPlatformAccessOnly = true });
46-
UserFull updatedWithNotificationEmail = await client.Users.UpdateUserByIdAsync(userId: user.Id, requestBody: new UpdateUserByIdRequestBody() { NotificationEmail = new UpdateUserByIdRequestBodyNotificationEmailField() { Email = userLogin } });
47-
Assert.IsTrue(updatedWithNotificationEmail.NotificationEmail != null);
48-
UserFull updatedWithoutNotificationEmail = await client.Users.UpdateUserByIdAsync(userId: user.Id, requestBody: new UpdateUserByIdRequestBody() { NotificationEmail = null });
49-
Assert.IsTrue(updatedWithoutNotificationEmail.NotificationEmail == null);
50-
await client.Users.DeleteUserByIdAsync(userId: user.Id);
51-
}
52-
5341
}
5442
}

0 commit comments

Comments
 (0)