mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 14:11:10 +00:00
Adds hidden elements option to file system browser directories and paths
This commit is contained in:
1 parent
15a1881495
commit
b3db46ed5f
18 files changed
+217
-59
No files matched your search
+3
-3
@@ -634,7 +634,7 @@ public class PathControllerTests
|
||||
.Returns(expectedResponse);
|
||||
|
||||
// Act
|
||||
IActionResult result = await _sut.CheckPathExists(path, cancellationToken);
|
||||
IActionResult result = await _sut.CheckPathExists(path, true, cancellationToken);
|
||||
|
||||
// Assert
|
||||
OkObjectResult okResult = result.Should().BeOfType<OkObjectResult>().Subject;
|
||||
@@ -652,7 +652,7 @@ public class PathControllerTests
|
||||
.Returns(new PathExistsResponse(true));
|
||||
|
||||
// Act
|
||||
await _sut.CheckPathExists(path, cancellationToken);
|
||||
await _sut.CheckPathExists(path, true, cancellationToken);
|
||||
|
||||
// Assert
|
||||
await _mockMediator.Received(1).Send(Arg.Is<CheckPathExistsQuery>(q => q.Path == path), Arg.Is(cancellationToken));
|
||||
@@ -674,7 +674,7 @@ public class PathControllerTests
|
||||
|
||||
// Act & Assert
|
||||
cts.CancelAfter(50);
|
||||
await Assert.ThrowsAnyAsync<OperationCanceledException>(() => _sut.CheckPathExists(path, cts.Token));
|
||||
await Assert.ThrowsAnyAsync<OperationCanceledException>(() => _sut.CheckPathExists(path, true, cts.Token));
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
Reference in new issue
Block a user