Skip to content

graphql: constructors for git resolvers, sub-repo perms testing

Warren Gifford requested to merge sub-repo-perms into main

Created by: bobheadxi

  • create constructors for GitCommitResolver, GitTreeEntryResolver and enforce them
  • convert TestGitTreeEntry test to use client mock
  • convert TestGitTree to use database mock

Closes https://github.com/sourcegraph/sourcegraph/issues/27417 , makes https://github.com/sourcegraph/sourcegraph/issues/27448 easier potentially, part of https://github.com/sourcegraph/sourcegraph/issues/26645

Merge request reports

Loading