public void GetScopesAsyncTest_publicOnly_false() { var scopeStore = new EntityFrameworkCoreScopeStore(_fixture.DbContext); { var scopes = scopeStore.GetScopesAsync(publicOnly: false).Result; Assert.NotEmpty(scopes); } }
public void FindScopesAsyncTest() { var scopeStore = new EntityFrameworkCoreScopeStore(_fixture.DbContext); var scopes = scopeStore.FindScopesAsync(new string[] { "system" }).Result; Assert.Single(scopes); Assert.Equal("system", scopes.Single().Name); }