Update tests

This commit is contained in:
code liturgy 2022-11-14 20:38:07 +00:00
parent 36b776d6d1
commit dafb489eb4
1 changed files with 1 additions and 2 deletions

View File

@ -10,7 +10,7 @@ public class AugeasTests
private const string EXAMPLE_CONF_1 = "/etc/apache2/sites-available/example.com.conf"; private const string EXAMPLE_CONF_1 = "/etc/apache2/sites-available/example.com.conf";
private const string EXAMPLE_CONF_2 = "/etc/apache2/sites-available/example2.com.conf"; private const string EXAMPLE_CONF_2 = "/etc/apache2/sites-available/example2.com.conf";
public static string RandomString(int length) private static string RandomString(int length)
{ {
var random = new Random(); var random = new Random();
const string chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; const string chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
@ -18,7 +18,6 @@ public class AugeasTests
.Select(s => s[random.Next(s.Length)]).ToArray()); .Select(s => s[random.Next(s.Length)]).ToArray());
} }
[SetUp] [SetUp]
public void Setup() public void Setup()
{ {