Skip to content

Commit

Permalink
tests/main/system-usernames-snap-scoped: use core22 base, install bef…
Browse files Browse the repository at this point in the history
…ore using fake store

Signed-off-by: Maciej Borzecki <[email protected]>
  • Loading branch information
bboozzoo committed Nov 14, 2024
1 parent 717d8f4 commit c0fe6da
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: SNAPNAME
summary: Snap requesting snap-scoped system users
version: '1.0'
base: core22

apps:
test-app:
Expand Down
4 changes: 4 additions & 0 deletions tests/main/system-usernames-snap-scoped/task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ prepare: |
snap debug can-manage-refreshes | MATCH false
# install dependencies before switching to fake store
# TODO extract base from snap metadata when swithing to gojq
snap install core22
snap ack "$TESTSLIB/assertions/testrootorg-store.account-key"
"$TESTSTOOLS"/store-state setup-fake-store "$STORE_DIR"
Expand Down

0 comments on commit c0fe6da

Please sign in to comment.