Skip to content

Commit 587013b

Browse files
authored
Merge pull request #471 from Sohalt/tests
Use nodes.machine instead of deprecated machine in allProfilesTest
2 parents 0bda6e3 + 28f0f44 commit 587013b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tests.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ let
3030
allProfilesTest = {
3131
name = "allProfiles";
3232

33-
machine = { suites ? null, ... }: {
33+
nodes.machine = { suites ? null, ... }: {
3434
imports =
3535
let
3636
allProfiles = lib.foldl
@@ -41,7 +41,7 @@ let
4141
};
4242

4343
testScript = ''
44-
machines[0].systemctl("is-system-running --wait")
44+
machine.systemctl("is-system-running --wait")
4545
'';
4646
};
4747
in

0 commit comments

Comments
 (0)