mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-02 22:11:10 +00:00
Removes the option to disable theme scripts
This commit is contained in:
1 parent
531450b3db
commit
15945c2e56
17 files changed
+15
-201
No files matched your search
-3
@@ -37,10 +37,8 @@ public class GetThemeSettingsQueryHandlerTests
|
||||
// Arrange
|
||||
GetThemeSettingsQuery query = _getThemeSettingsQueryFixture.Create();
|
||||
long maxArchiveBytes = 50_000_000;
|
||||
bool allowThemeScripts = false;
|
||||
string defaultThemeId = "default-theme";
|
||||
_mockThemeService.MaxArchiveBytes.Returns(maxArchiveBytes);
|
||||
_mockThemeService.AllowThemeScripts.Returns(allowThemeScripts);
|
||||
_mockThemeService.DefaultThemeId.Returns(defaultThemeId);
|
||||
|
||||
// Act
|
||||
@@ -49,7 +47,6 @@ public class GetThemeSettingsQueryHandlerTests
|
||||
// Assert
|
||||
Assert.False(result.IsFailure);
|
||||
Assert.Equal(maxArchiveBytes, result.Value.MaxArchiveBytes);
|
||||
Assert.Equal(allowThemeScripts, result.Value.AllowThemeScripts);
|
||||
Assert.Equal(defaultThemeId, result.Value.DefaultThemeId);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user