Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Services / DevHive.Services.Tests / PostService.Tests.cs
diff options
context:
space:
mode:
Commit25228c4a018e7d4de4efd3d11d19c99086fd46be (patch)
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
Filesa8f34955820ddb681065b6d8d5a7988d75652656 /src/Services/DevHive.Services.Tests/PostService.Tests.cs
DevHive-25228c4a018e7d4de4efd3d11d19c99086fd46be.tar
DevHive-25228c4a018e7d4de4efd3d11d19c99086fd46be.tar.gz
DevHive-25228c4a018e7d4de4efd3d11d19c99086fd46be.zip
Parenta64e1a9433a0d1ae340a38752f8b87cd7df8ad78 (diff)
Removed unused local variables in service tests
1 files changed, 0 insertions, 4 deletions
-rw-r--r--src/Services/DevHive.Services.Tests/PostService.Tests.cs4
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");