Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

graphql: Fix deleteGroup and deleteUser mutations. #4820

Merged
merged 7 commits into from
Feb 20, 2020
Prev Previous commit
Next Next commit
Fix a couple of other backup tests as well.
  • Loading branch information
pawanrawal committed Feb 20, 2020
commit ecdc2422a6e2e826c9ed9db4a354d92fc949f5b6
2 changes: 1 addition & 1 deletion ee/backup/tests/filesystem/backup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ func runRestore(t *testing.T, backupLocation, lastDir string, commitTs uint64) m

restoredTypes, err := testutil.GetTypeNames(pdir, commitTs)
require.NoError(t, err)
require.ElementsMatch(t, []string{"Node"}, restoredTypes)
require.ElementsMatch(t, []string{"Node", "dgraph.graphql"}, restoredTypes)

return restored
}
Expand Down
2 changes: 1 addition & 1 deletion ee/backup/tests/minio/backup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ func runRestore(t *testing.T, lastDir string, commitTs uint64) map[string]string

restoredTypes, err := testutil.GetTypeNames(pdir, commitTs)
require.NoError(t, err)
require.ElementsMatch(t, []string{"Node"}, restoredTypes)
require.ElementsMatch(t, []string{"Node", "dgraph.graphql"}, restoredTypes)

require.NoError(t, err)
t.Logf("--- Restored values: %+v\n", restored)
Expand Down