File tree 1 file changed +2
-2
lines changed
test/Albelli.Extensions.Caching.Tests.Integration
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ public void ServiceProvider_Is_Retrieved_Successfully_With_A_DynamoDbClient_Regi
47
47
{
48
48
o . TableName = "test" ;
49
49
} ) ;
50
- serviceCollection . AddSingleton < IAmazonDynamoDB > ( m => new Mock < AmazonDynamoDBClient > ( ) . Object ) ;
50
+ serviceCollection . AddSingleton < IAmazonDynamoDB > ( m => new Mock < IAmazonDynamoDB > ( ) . Object ) ;
51
51
var serviceProvider = serviceCollection . BuildServiceProvider ( ) ;
52
52
Assert . NotNull ( serviceProvider . GetService ( typeof ( IDistributedCache ) ) ) ;
53
53
}
@@ -59,7 +59,7 @@ public void ServiceProvider_Is_Retrieved_Successfully_With_A_Manually_Provided_D
59
59
serviceCollection . AddDynamoDbCache ( o =>
60
60
{
61
61
o . TableName = "test" ;
62
- o . CustomDynamoDbClient = new Mock < AmazonDynamoDBClient > ( ) . Object ;
62
+ o . CustomDynamoDbClient = new Mock < IAmazonDynamoDB > ( ) . Object ;
63
63
} ) ;
64
64
var serviceProvider = serviceCollection . BuildServiceProvider ( ) ;
65
65
Assert . NotNull ( serviceProvider . GetService ( typeof ( IDistributedCache ) ) ) ;
You can’t perform that action at this time.
0 commit comments