Skip to content

Commit

Permalink
tests/main/store-state: use core22 for test snap
Browse files Browse the repository at this point in the history
Signed-off-by: Maciej Borzecki <[email protected]>
  • Loading branch information
bboozzoo committed Nov 14, 2024
1 parent f59f8af commit 717d8f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/main/store-state/snap/meta/snap.yaml.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: SNAPNAME
summary: generic snap
version: '1.0'
base: core22

apps:
test-app:
Expand Down
4 changes: 4 additions & 0 deletions tests/main/store-state/task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ execute: |
snap info core | MATCH "store-url:.*https://snapcraft.io"
fi
# install test snap dependency before switching to fake store
# TODO: extract base name when switching to gojq
snap install core22
# Setup fakestore
STORE_DIR="$(pwd)/fake-store-blobdir"
snap ack "$TESTSLIB/assertions/testrootorg-store.account-key"
Expand Down

0 comments on commit 717d8f4

Please sign in to comment.