mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-13 18:48:09 +00:00
Enable C# functions in code & fill out missing functionality (#2084)
C# HTTP functions won’t take effect by default so it is safe to enable them in code. Also implement required authentication code.
This commit is contained in:
@ -334,6 +334,9 @@ namespace Tests {
|
||||
|
||||
public static Arbitrary<PoolName> PoolName { get; } = OrmGenerators.PoolNameGen.ToArbitrary();
|
||||
|
||||
public static Arbitrary<IReadOnlyList<T>> ReadOnlyList<T>()
|
||||
=> Arb.Default.List<T>().Convert(x => (IReadOnlyList<T>)x, x => (List<T>)x);
|
||||
|
||||
public static Arbitrary<Version> Version() {
|
||||
return Arb.From(OrmGenerators.Version());
|
||||
}
|
||||
|
Reference in New Issue
Block a user