Skip to content
This repository was archived by the owner on Apr 13, 2026. It is now read-only.

Commit 7eb8393

Browse files
cr changes
1 parent d5dab94 commit 7eb8393

2 files changed

Lines changed: 5 additions & 9 deletions

File tree

Frends.Template/Frends.Echo.Execute/Frends.Echo.Execute.Tests/IntegrationTests.cs renamed to Frends.Template/Frends.Echo.Execute/Frends.Echo.Execute.Tests/FunctionalTests.cs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,8 @@
55
namespace Frends.Echo.Execute.Tests;
66

77
[TestFixture]
8-
public class IntegrationTests : TestBase
8+
public class FunctionalTests : TestBase
99
{
10-
[Test]
11-
public void TestEnvironmentVariables()
12-
{
13-
Assert.That(SecretKey, Is.EqualTo("example"), SecretKey);
14-
}
15-
1610
[Test]
1711
public void ShouldRepeatContentWithDelimiter()
1812
{
@@ -34,7 +28,7 @@ public void ShouldRepeatContentWithDelimiter()
3428
ErrorMessageOnFailure = null,
3529
};
3630

37-
var result = Xml.Write(input, connection, options, CancellationToken.None);
31+
var result = Echo.Execute(input, connection, options, CancellationToken.None);
3832

3933
Assert.That(result.Output, Is.EqualTo("foobar, foobar, foobar"));
4034
}
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
using System;
22
using dotenv.net;
33

4-
namespace Frends.Xml.Write.Tests;
4+
namespace Frends.Echo.Execute.Tests;
55

66
public abstract class TestBase
77
{
88
protected TestBase()
99
{
10+
// TODO: Here you can load environment variables used in tests
1011
DotEnv.Load();
1112
SecretKey = Environment.GetEnvironmentVariable("FRENDS_SECRET_KEY");
1213
}
1314

15+
// TODO: Replace with your secret key or remove if not needed
1416
protected string SecretKey { get; }
1517
}

0 commit comments

Comments
 (0)