mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 13:11:10 +00:00
Fixes the failing hidden elements integration tests and the book creation handler test
This commit is contained in:
1 parent
3653ff5bd7
commit
5fb920caeb
6 files changed
+69
-22
No files matched your search
+20
@@ -0,0 +1,20 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using Lumina.Presentation.Api.IntegrationTests.Core.Endpoints.FileSystemManagement.Fixtures;
|
||||
using System;
|
||||
using System.IO;
|
||||
using Xunit;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Presentation.Api.IntegrationTests.Common.Setup;
|
||||
|
||||
/// <summary>
|
||||
/// Marks a test to be skipped when the file system does not support the <see cref="FileAttributes.Hidden"/> attribute.
|
||||
/// </summary>
|
||||
[AttributeUsage(AttributeTargets.Method)]
|
||||
public sealed class SkipWhenHiddenAttributeNotSupportedFactAttribute : FactAttribute
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public override string Skip => FileSystemStructureFixture.HiddenAttributeIsSupported
|
||||
? string.Empty
|
||||
: "The file system does not support the hidden file attribute, so the hidden elements scenario cannot be set up.";
|
||||
}
|
||||
Reference in new issue
Block a user