Skip to content

Commit f7026fc

Browse files
committed
Update test fixtures for Hackage packages and advisory tests
1 parent f751a2b commit f7026fc

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

.github/workflows/backend.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ jobs:
7272
cabal update
7373
mkdir -p ~/.local/share
7474
git clone https://github.com/haskell/security-advisories.git ~/.local/share/security-advisories
75-
cd ~/.local/share/security-advisories
76-
git checkout df64e86a39668c057031fe7e2c679b1003090e03
7775
cd -
7876
7977
- name: "Create freeze file"

test/Flora/AdvisorySpec.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ testFetchingAdvisoryPreviewByPackageId = do
4545
(Namespace "hackage")
4646
(PackageName "base")
4747
advisories <- Query.getAdvisoryPreviewsByPackageId package.packageId
48-
assertEqual_ 1 (Vector.length advisories)
48+
assertEqual_ 2 (Vector.length advisories)

test/Flora/PackageSpec.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ testGetNonDeprecatedPackages = do
195195
testReleaseDeprecation :: RequireCallStack => TestEff ()
196196
testReleaseDeprecation = do
197197
result <- Query.getHackagePackagesWithoutReleaseDeprecationInformation
198-
assertEqual_ 219 (length result)
198+
assertEqual_ 223 (length result)
199199

200200
binary <- assertJust_ =<< Query.getPackageByNamespaceAndName (Namespace "hackage") (PackageName "binary")
201201
deprecatedBinaryVersion' <- assertJust_ =<< Query.getReleaseByVersion binary.packageId (mkVersion [0, 10, 0, 0])
4.31 KB
Binary file not shown.

0 commit comments

Comments
 (0)