From d55cbeac789d00c0ce319ee8cb8e67e3d71aac79 Mon Sep 17 00:00:00 2001 From: Alexander Bayandin Date: Thu, 24 Jun 2021 13:29:44 +0100 Subject: [PATCH] github_spec: Update PR number with unexpired artifacts --- Library/Homebrew/test/utils/github_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/test/utils/github_spec.rb b/Library/Homebrew/test/utils/github_spec.rb index fbc81e11df..f695c34106 100644 --- a/Library/Homebrew/test/utils/github_spec.rb +++ b/Library/Homebrew/test/utils/github_spec.rb @@ -77,16 +77,16 @@ describe GitHub do it "fails to find artifacts that don't exist" do expect { described_class.get_artifact_url( - described_class.get_workflow_run("Homebrew", "homebrew-core", 51971, artifact_name: "false_bottles"), + described_class.get_workflow_run("Homebrew", "homebrew-core", 79751, artifact_name: "false_bottles"), ) }.to raise_error(/No artifact .+ was found/) end it "gets an artifact link" do url = described_class.get_artifact_url( - described_class.get_workflow_run("Homebrew", "homebrew-core", 51971, artifact_name: "bottles"), + described_class.get_workflow_run("Homebrew", "homebrew-core", 79751, artifact_name: "bottles"), ) - expect(url).to eq("https://api.github.com/repos/Homebrew/homebrew-core/actions/artifacts/3557392/zip") + expect(url).to eq("https://api.github.com/repos/Homebrew/homebrew-core/actions/artifacts/69422207/zip") end end