mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-10-18 21:57:20 +02:00
fix: save renamed source together with reconnected access
This commit is contained in:
1 parent
e6073941b9
commit
ccccf07491
3 files changed
+20
-2
No files matched your search
@@ -543,7 +543,8 @@ describeMongo("GitHub App credential and repository integration", function () {
|
||||
const repaired = await PRs.findById(resource.id);
|
||||
expect(repaired.githubAccess.repositoryId).to.equal(42);
|
||||
expect(repaired.githubAccess.installationId).to.equal(4);
|
||||
expect(repaired.source.repositoryFullName).to.equal("owner/old-name");
|
||||
expect(repaired.source.repositoryFullName).to.equal("owner/new-name");
|
||||
expect(repaired.source.pullRequestId).to.equal(7);
|
||||
expect(repaired.pullRequestId).to.equal("renamed-pr");
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user