File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Expand file tree Collapse file tree 3 files changed +5
-3
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}
Original file line number Diff line number Diff line change 1515 <PackageReference Include =" Moq" Version =" 4.13.1" />
1616 <PackageReference Include =" MSTest.TestAdapter" Version =" 2.0.0" />
1717 <PackageReference Include =" MSTest.TestFramework" Version =" 2.0.0" />
18- <PackageReference Include =" SilverGiggle" Version =" 0.0.0-4-ge5bf59c " />
18+ <PackageReference Include =" SilverGiggle" Version =" 0.0.2 " />
1919 </ItemGroup >
2020
2121 <ItemGroup >
You can’t perform that action at this time.
0 commit comments