mirror of
https://github.com/bitwarden/server
synced 2025-12-17 16:53:23 +00:00
fixup seededData vs playData migrations
This commit is contained in:
@@ -72,22 +72,4 @@ public class QueryControllerTests : IClassFixture<SeederApiApplicationFactory>,
|
||||
|
||||
Assert.Equal(HttpStatusCode.BadRequest, response.StatusCode);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task QueryEndpoint_VerifyQueryDoesNotCreateSeedId()
|
||||
{
|
||||
var testEmail = $"test-{Guid.NewGuid()}@bitwarden.com";
|
||||
|
||||
var response = await _client.PostAsJsonAsync("/query", new QueryRequestModel
|
||||
{
|
||||
Template = "EmergencyAccessInviteQuery",
|
||||
Arguments = System.Text.Json.JsonSerializer.SerializeToElement(new { email = testEmail })
|
||||
});
|
||||
|
||||
response.EnsureSuccessStatusCode();
|
||||
var result = await response.Content.ReadAsStringAsync();
|
||||
|
||||
Assert.Equal("[]", result);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user