File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 11using System ;
22using System . Collections . Generic ;
3+ using System . Reflection ;
34using Amazon . Lambda . APIGatewayEvents ;
45using GitHubHook . Tests . TestPayloads ;
56using Microsoft . VisualStudio . TestTools . UnitTesting ;
@@ -46,7 +47,7 @@ public void GenerateAndCompareSignature_TestSignature1()
4647 public void GenerateAndCompareSignature_TestSignature2 ( )
4748 {
4849 // Arrange
49- var resmgr = new InternalResourceManager ( typeof ( TestPayloadsMarker ) ) ;
50+ var resmgr = new InternalResourceManager ( typeof ( TestPayloadsMarker ) . GetTypeInfo ( ) ) ;
5051
5152 var secretToken = "A3UB12ga#%TMp%asL5or@Nb2%l8m1h8*vja5^Pj3xc^&%cdYcQo$WNDzfeX*HhUt^SzuDM!g5*RiEEugcb12^u@kh2pdmUtDhaFC" ;
5253 var signature = "sha1=eb4acec0ce7e63f015dfac6681aab94b3ec028ed" ;
Original file line number Diff line number Diff line change 11using GitHubHook . Tests . TestPayloads ;
22using Microsoft . VisualStudio . TestTools . UnitTesting ;
33using SilverGiggle ;
4+ using System . Reflection ;
45
56namespace GitHubHook . Tests . Events
67{
@@ -11,7 +12,7 @@ public abstract class BaseEventTests
1112 [ TestInitialize ]
1213 public void Init ( )
1314 {
14- resourceManager = new InternalResourceManager ( typeof ( TestPayloadsMarker ) ) ;
15+ resourceManager = new InternalResourceManager ( typeof ( TestPayloadsMarker ) . GetTypeInfo ( ) ) ;
1516 }
1617 }
1718}
You can’t perform that action at this time.
0 commit comments