diff options
| author | transtrike <transtrike@gmail.com> | 2021-04-05 13:41:31 +0300 |
|---|---|---|
| committer | transtrike <transtrike@gmail.com> | 2021-04-05 13:41:31 +0300 |
| commit | da7d6223c261aac8e8f18458c11fb48cf9ca4cfe (patch) | |
| tree | a8b29422156a7fe76a2034142744f22e328b8c2f /src/Services/DevHive.Services.Tests | |
| parent | bad7456b379bcc683431e2279591f7c5227bd55a (diff) | |
| download | DevHive-da7d6223c261aac8e8f18458c11fb48cf9ca4cfe.tar DevHive-da7d6223c261aac8e8f18458c11fb48cf9ca4cfe.tar.gz DevHive-da7d6223c261aac8e8f18458c11fb48cf9ca4cfe.zip | |
Introduced consts for every string possible. FML
Diffstat (limited to 'src/Services/DevHive.Services.Tests')
| -rw-r--r-- | src/Services/DevHive.Services.Tests/UserService.Tests.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Services/DevHive.Services.Tests/UserService.Tests.cs b/src/Services/DevHive.Services.Tests/UserService.Tests.cs index 7990b32..9d1bca5 100644 --- a/src/Services/DevHive.Services.Tests/UserService.Tests.cs +++ b/src/Services/DevHive.Services.Tests/UserService.Tests.cs @@ -344,7 +344,7 @@ namespace DevHive.Services.Tests // } // else // { - // const string EXCEPTION_MESSAGE = "Unable to edit user!"; + // const string EXCEPTION_MESSAGE = string.Format(ErrorMessages.CannotEdit, ClassesConstants.User.ToLower()); // // Exception ex = Assert.ThrowsAsync<InvalidOperationException>(() => this._userService.UpdateUser(updateUserServiceModel); // |
