Converts all 73 test source files from file-scoped (namespace X;) to
block-scoped (namespace X { ... }) declarations, re-indenting their
contents accordingly. Matches the existing convention already used in
several production files (e.g. Musify.Infrastructure.Configuration,
Musify.Application.Contracts).
Mechanical change only, done with a script, verified with a full
rebuild (0 warnings, 0 errors) and test run (257/257 passing).
26 lines
939 B
C#
26 lines
939 B
C#
using Musify.Application.Configuration;
|
|
|
|
namespace Musify.Application.Tests.TestSupport
|
|
{
|
|
/// <summary>
|
|
/// Configuration POCOs with every <c>required</c> member filled and the rest left at their
|
|
/// production defaults, so handler tests don't have to know which fields matter for them.
|
|
/// </summary>
|
|
public static class TestConfigurations
|
|
{
|
|
public static ApplicationStorageConfiguration Storage(string bucket = "test-bucket") =>
|
|
new() { Bucket = bucket };
|
|
|
|
public static TrackConfiguration Track() => new();
|
|
|
|
public static PlayListConfiguration PlayList() => new();
|
|
|
|
public static MixConfiguration Mix() => new();
|
|
|
|
public static UploadIntentConfiguration UploadIntent() => new();
|
|
|
|
public static StreamGatewayConfiguration StreamGateway(string publicBaseUrl = "https://stream.musify.test") =>
|
|
new() { PublicBaseUrl = publicBaseUrl };
|
|
}
|
|
}
|