Update tests
This commit is contained in:
parent
36b776d6d1
commit
dafb489eb4
|
@ -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()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue