mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-14 11:08:06 +00:00
Implement info
Function in C# (#2061)
Adds implementation of the `info` function. Added support for blobs in the function integration test stuff. Simplified usage of integration test classes by removing the account name parameter.
This commit is contained in:
@ -44,6 +44,9 @@ sealed class TestHttpRequestData : HttpRequestData {
|
||||
public static TestHttpRequestData FromJson<T>(string method, T obj)
|
||||
=> new(method, Serializer.Serialize(obj));
|
||||
|
||||
public static TestHttpRequestData Empty(string method)
|
||||
=> new(method, new BinaryData(Array.Empty<byte>()));
|
||||
|
||||
public TestHttpRequestData(string method, BinaryData body)
|
||||
: base(NewFunctionContext()) {
|
||||
Method = method;
|
||||
|
Reference in New Issue
Block a user