File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed
src/VirtualClient/VirtualClient.Actions.UnitTests/Redis Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -67,24 +67,13 @@ public void RedisExecutorThrowsOnUnsupportedDistroAsync()
67
67
}
68
68
}
69
69
70
- [ Test ]
71
- [ TestCase ( PlatformID . Unix , Architecture . X64 ) ]
72
- public void RedisExecutorDoesnotThrowOnSupportedPLatform ( PlatformID platform , Architecture architecture )
73
- {
74
- this . SetupDefaultMockBehavior ( platform , architecture ) ;
75
- using ( TestRedisExecutorExecutor executor = new TestRedisExecutorExecutor ( this . fixture . Dependencies , this . fixture . Parameters ) )
76
- {
77
- Exception exception = Assert . ThrowsAsync < Exception > (
78
- ( ) => executor . ExecuteAsync ( CancellationToken . None ) ) ;
79
- }
80
- }
81
-
82
70
private void SetupDefaultMockBehavior ( PlatformID platformID )
83
71
{
84
72
this . fixture . Setup ( platformID ) ;
85
73
this . fixture . File . Setup ( f => f . Exists ( It . IsAny < string > ( ) ) ) . Returns ( true ) ;
86
74
this . fixture . ProcessManager . OnCreateProcess = ( cmd , args , wd ) => this . fixture . Process ;
87
75
}
76
+
88
77
private void SetupDefaultMockBehavior ( PlatformID platformID , Architecture architecture )
89
78
{
90
79
this . fixture . Setup ( platformID , architecture ) ;
You can’t perform that action at this time.
0 commit comments