Fixes typos and replaces LINQ conversions with collection expressions

This commit is contained in:
BinaryAlley committed 2026-08-09 00:19:28 -07:00
1 parent adadec7f3b
commit 74e9030a18
75 files changed
+113 -113

No files matched your search

@@ -180,7 +180,7 @@ public class GetDirectoriesEndpointTests : IClassFixture<AuthenticatedLuminaApiF
}
[Fact]
public async Task ExecuteAsync_WhenCalledWithCancellationToken_ShouldCompletesuccessfuly()
public async Task ExecuteAsync_WhenCalledWithCancellationToken_ShouldCompleteSuccessfully()
{
// Arrange
string testPath = System.IO.Path.Combine(System.IO.Path.GetTempPath(), "testDirectory");
@@ -84,7 +84,7 @@ public class GetTypeEndpointTests : IClassFixture<AuthenticatedLuminaApiFactory>
}
[Fact]
public async Task ExecuteAsync_WhenCalledWithCancellationToken_ShouldCompletesuccessfuly()
public async Task ExecuteAsync_WhenCalledWithCancellationToken_ShouldCompleteSuccessfully()
{
// Arrange
using CancellationTokenSource cts = new(TimeSpan.FromSeconds(5));
@@ -220,7 +220,7 @@ public class GetFilesEndpointTests : IClassFixture<AuthenticatedLuminaApiFactory
}
[Fact]
public async Task ExecuteAsync_WhenCalledWithCancellationToken_ShouldCompletesuccessfuly()
public async Task ExecuteAsync_WhenCalledWithCancellationToken_ShouldCompleteSuccessfully()
{
// Arrange
string testPath = System.IO.Path.Combine(System.IO.Path.GetTempPath(), "testDirectory");
@@ -220,7 +220,7 @@ public class GetTreeFilesEndpointTests : IClassFixture<AuthenticatedLuminaApiFac
}
[Fact]
public async Task ExecuteAsync_WhenCalledWithCancellationToken_ShouldCompletesuccessfuly()
public async Task ExecuteAsync_WhenCalledWithCancellationToken_ShouldCompleteSuccessfully()
{
// Arrange
string testPath = System.IO.Path.Combine(System.IO.Path.GetTempPath(), "testDirectory");
@@ -100,7 +100,7 @@ public class CombinePathEndpointTests : IClassFixture<AuthenticatedLuminaApiFact
}
[Fact]
public async Task ExecuteAsync_WhenCalledWithCancellationToken_ShouldCompletesuccessfuly()
public async Task ExecuteAsync_WhenCalledWithCancellationToken_ShouldCompleteSuccessfully()
{
// Arrange
string originalPath = "/home/user";
@@ -171,7 +171,7 @@ public class GetPathParentEndpointTests : IClassFixture<AuthenticatedLuminaApiFa
}
[Fact]
public async Task ExecuteAsync_WhenCalledWithCancellationToken_ShouldCompletesuccessfuly()
public async Task ExecuteAsync_WhenCalledWithCancellationToken_ShouldCompleteSuccessfully()
{
// Arrange
string testPath = System.IO.Path.Combine(System.IO.Path.GetTempPath(), "testDirectory");
@@ -128,7 +128,7 @@ public class GetPathRootEndpointTests : IClassFixture<AuthenticatedLuminaApiFact
}
[Fact]
public async Task ExecuteAsync_WhenCalledWithCancellationToken_ShouldCompletesuccessfuly()
public async Task ExecuteAsync_WhenCalledWithCancellationToken_ShouldCompleteSuccessfully()
{
// Arrange
string testPath = System.IO.Path.GetTempPath();
@@ -83,7 +83,7 @@ public class GetPathSeparatorEndpointTests : IClassFixture<AuthenticatedLuminaAp
}
[Fact]
public async Task ExecuteAsync_WhenCalledWithCancellationToken_ShouldCompletesuccessfuly()
public async Task ExecuteAsync_WhenCalledWithCancellationToken_ShouldCompleteSuccessfully()
{
// Arrange
using CancellationTokenSource cts = new(TimeSpan.FromSeconds(5));
@@ -60,7 +60,7 @@ public class SetupApplicationEndpointTests : IClassFixture<AuthenticatedLuminaAp
}
[Fact]
public async Task ExecuteAsync_WhenCalledWithValidRequestAnd2FA_ShouldSetupApplicationsuccessfuly()
public async Task ExecuteAsync_WhenCalledWithValidRequestAnd2FA_ShouldSetupApplicationSuccessfully()
{
// Arrange
RegistrationRequest request = new(
@@ -94,7 +94,7 @@ public class SetupApplicationEndpointTests : IClassFixture<AuthenticatedLuminaAp
}
[Fact]
public async Task ExecuteAsync_WhenCalledWithValidRequestWithout2FA_ShouldSetupApplicationsuccessfuly()
public async Task ExecuteAsync_WhenCalledWithValidRequestWithout2FA_ShouldSetupApplicationSuccessfully()
{
// Arrange
RegistrationRequest request = new(
@@ -54,7 +54,7 @@ public class ChangePasswordEndpointTests : IClassFixture<AuthenticatedLuminaApiF
}
[Fact]
public async Task ExecuteAsync_WhenCalledWithValidRequest_ShouldChangePasswordsuccessfuly()
public async Task ExecuteAsync_WhenCalledWithValidRequest_ShouldChangePasswordSuccessfully()
{
// Arrange
ChangePasswordRequest request = new(
@@ -68,7 +68,7 @@ public class LoginEndpointTests : IClassFixture<AuthenticatedLuminaApiFactory>,
}
[Fact]
public async Task ExecuteAsync_WhenCalledWithValidCredentials_ShouldLoginsuccessfuly()
public async Task ExecuteAsync_WhenCalledWithValidCredentials_ShouldLoginSuccessfully()
{
// Arrange
UserEntity user = await CreateTestUser();
@@ -95,7 +95,7 @@ public class LoginEndpointTests : IClassFixture<AuthenticatedLuminaApiFactory>,
}
[Fact]
public async Task ExecuteAsync_WhenCalledWithValidCredentialsAndTotp_ShouldLoginsuccessfuly()
public async Task ExecuteAsync_WhenCalledWithValidCredentialsAndTotp_ShouldLoginSuccessfully()
{
// Arrange
UserEntity user = await CreateTestUserWithTotp();
@@ -127,7 +127,7 @@ public class LoginEndpointTests : IClassFixture<AuthenticatedLuminaApiFactory>,
}
[Fact]
public async Task ExecuteAsync_WhenCalledWithTempPassword_ShouldLoginsuccessfuly()
public async Task ExecuteAsync_WhenCalledWithTempPassword_ShouldLoginSuccessfully()
{
// Arrange
UserEntity user = await CreateTestUserWithTempPassword();
@@ -57,7 +57,7 @@ public class RegisterEndpointTests : IClassFixture<AuthenticatedLuminaApiFactory
}
[Fact]
public async Task ExecuteAsync_WhenCalledWithValidRequest_ShouldRegisterUsersuccessfuly()
public async Task ExecuteAsync_WhenCalledWithValidRequest_ShouldRegisterUserSuccessfully()
{
// Arrange
RegistrationRequest request = new(
@@ -65,7 +65,7 @@ public class GetBooksEndpointTests : IClassFixture<AuthenticatedLuminaApiFactory
}
[Fact]
public async Task ExecuteAsync_WhenCalledWithCancellationToken_ShouldCompletesuccessfuly()
public async Task ExecuteAsync_WhenCalledWithCancellationToken_ShouldCompleteSuccessfully()
{
// Arrange
using CancellationTokenSource cts = new(TimeSpan.FromSeconds(5));