21 lines
839 B
C#
21 lines
839 B
C#
|
|
using System.Runtime.CompilerServices;
|
||
|
|
|
||
|
|
[assembly: InternalsVisibleTo("SIGCM2.Api.Tests")]
|
||
|
|
|
||
|
|
namespace SIGCM2.TestSupport;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Centralized connection string constants for integration test databases.
|
||
|
|
/// Single source of truth — change server/credentials here only.
|
||
|
|
/// </summary>
|
||
|
|
public static class TestConnectionStrings
|
||
|
|
{
|
||
|
|
/// <summary>Used by SIGCM2.Application.Tests via SqlTestFixture (parameterless ctor).</summary>
|
||
|
|
public const string AppTestDb =
|
||
|
|
"Server=TECNICA3;Database=SIGCM2_Test_App;User Id=desarrollo;Password=desarrollo2026;TrustServerCertificate=True;";
|
||
|
|
|
||
|
|
/// <summary>Used by SIGCM2.Api.Tests via TestWebAppFactory.</summary>
|
||
|
|
public const string ApiTestDb =
|
||
|
|
"Server=TECNICA3;Database=SIGCM2_Test_Api;User Id=desarrollo;Password=desarrollo2026;TrustServerCertificate=True;";
|
||
|
|
}
|