From 25228c4a018e7d4de4efd3d11d19c99086fd46be Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 13 Mar 2021 16:16:29 +0200 Subject: Removed unused local variables in service tests --- src/Services/DevHive.Services.Tests/PostService.Tests.cs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/Services/DevHive.Services.Tests/PostService.Tests.cs') 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(() => this.PostService.CreatePost(createPostServiceModel), "CreatePost does not throw excpeion when the user does not exist"); -- cgit v1.2.3