diff options
| author | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-03-13 16:16:29 +0200 |
|---|---|---|
| committer | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-03-13 16:16:29 +0200 |
| commit | 25228c4a018e7d4de4efd3d11d19c99086fd46be (patch) | |
| tree | a8f34955820ddb681065b6d8d5a7988d75652656 /src/Services/DevHive.Services.Tests/PostService.Tests.cs | |
| parent | a64e1a9433a0d1ae340a38752f8b87cd7df8ad78 (diff) | |
| download | DevHive-25228c4a018e7d4de4efd3d11d19c99086fd46be.tar DevHive-25228c4a018e7d4de4efd3d11d19c99086fd46be.tar.gz DevHive-25228c4a018e7d4de4efd3d11d19c99086fd46be.zip | |
Removed unused local variables in service tests
Diffstat (limited to 'src/Services/DevHive.Services.Tests/PostService.Tests.cs')
| -rw-r--r-- | src/Services/DevHive.Services.Tests/PostService.Tests.cs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/Services/DevHive.Services.Tests/PostService.Tests.cs b/src/Services/DevHive.Services.Tests/PostService.Tests.cs index b7f9a9d..799824b 100644 --- a/src/Services/DevHive.Services.Tests/PostService.Tests.cs +++ b/src/Services/DevHive.Services.Tests/PostService.Tests.cs @@ -92,10 +92,6 @@ namespace DevHive.Services.Tests CreatePostServiceModel createPostServiceModel = new CreatePostServiceModel { }; - Post post = new Post - { - Message = MESSAGE, - }; Exception ex = Assert.ThrowsAsync<ArgumentException>(() => this.PostService.CreatePost(createPostServiceModel), "CreatePost does not throw excpeion when the user does not exist"); |
