Skip to content

Commit

Permalink
Merge pull request #2489 from intuit/test-refs
Browse files Browse the repository at this point in the history
Update some test refs
  • Loading branch information
adierkens authored Feb 6, 2025
2 parents c696169 + 16e4c0c commit 27b93e3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions plugins/cocoapods/__tests__/cocoapods.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ describe("Cocoapods Plugin", () => {
data: {
head: {
repo: {
clone_url: "https://github.com/intuit-fork/auto.git",
clone_url: "https://github.com/intuit/auto-test.git",
},
},
},
Expand Down Expand Up @@ -200,7 +200,7 @@ describe("Cocoapods Plugin", () => {
await expect(
updateSourceLocation(
"./Test.podspec",
"https://github.com/somefork/auto.git"
"https://github.com/intuit/auto-fork.git"
)
).rejects.toThrowError(
"Error updating source location in podspec: ./Test.podspec"
Expand All @@ -215,13 +215,13 @@ describe("Cocoapods Plugin", () => {

await updateSourceLocation(
"./Test.podspec",
"https://github.com/somefork/auto.git"
"https://github.com/intuit/auto-fork.git"
);
expect(mock).lastCalledWith(
expect.any(String),
specWithVersion(
"0.0.1",
"{ :git => 'https://github.com/somefork/auto.git', :commit => 'commithash' }"
"{ :git => 'https://github.com/intuit/auto-fork.git', :commit => 'commithash' }"
)
);
});
Expand Down Expand Up @@ -559,7 +559,7 @@ describe("Cocoapods Plugin", () => {
expect.any(String),
specWithVersion(
"0.1.0-canary.1.1.1",
"{ :git => 'https://github.com/intuit-fork/auto.git', :commit => 'undefined' }"
"{ :git => 'https://github.com/intuit/auto-test.git', :commit => 'undefined' }"
)
);
});
Expand Down Expand Up @@ -592,14 +592,14 @@ describe("Cocoapods Plugin", () => {
"./Test.podspec",
specWithVersion(
"0.1.0-canary.1.1.1",
"{ :git => 'https://github.com/intuit-fork/auto.git', :commit => 'undefined' }"
"{ :git => 'https://github.com/intuit/auto-test.git', :commit => 'undefined' }"
)
);
expect(mock).toHaveBeenCalledWith(
"./Test2.podspec",
specWithVersion(
"0.1.0-canary.1.1.1",
"{ :git => 'https://github.com/intuit-fork/auto.git', :commit => 'undefined' }"
"{ :git => 'https://github.com/intuit/auto-test.git', :commit => 'undefined' }"
)
);
});
Expand Down

0 comments on commit 27b93e3

Please sign in to comment.