update filebrowser expand contract and methods (#500)

This commit is contained in:
Kate Shin
2017-10-16 17:05:02 -07:00
committed by GitHub
parent 5d11654a10
commit e52d95cebf
5 changed files with 46 additions and 42 deletions

View File

@@ -288,9 +288,8 @@ CREATE CERTIFICATE {1} WITH SUBJECT = 'Backup Encryption Certificate'; ";
// Verify result
serviceHostMock.Verify(x => x.SendEvent(FileBrowserExpandedNotification.Type,
It.Is<FileBrowserExpandedParams>(p => p.Succeeded == true
&& p.ExpandedNode != null
&& p.ExpandedNode.Children != null
&& p.ExpandedNode.Children.Count > 0)),
&& p.Children != null
&& p.Children.Length > 0)),
Times.Once());
var validateParams = new FileBrowserValidateParams