Skip to content

Instantly share code, notes, and snippets.

View Elfocrash's full-sized avatar
☄️
Probably coding something stupid

Nick Chapsas Elfocrash

☄️
Probably coding something stupid
View GitHub Profile
@Elfocrash
Elfocrash / IntegrationTest.cs
Created July 10, 2019 10:40
ASP.NET Core Integration tests code from my video: https://www.youtube.com/watch?v=7roqteWLw4s
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Testing;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Tweetbook.Contracts.V1;
using Tweetbook.Contracts.V1.Requests;
using Tweetbook.Contracts.V1.Responses;
Index: java/net/sf/l2j/gameserver/votereward/VoteApiService.java
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- java/net/sf/l2j/gameserver/votereward/VoteApiService.java (date 1543688983838)
+++ java/net/sf/l2j/gameserver/votereward/VoteApiService.java (date 1543688983838)
@@ -0,0 +1,50 @@
+package net.sf.l2j.gameserver.votereward;
+