From c386fde594c016865ecc98235a0454bea782ecc7 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Wed, 6 Mar 2024 08:42:05 +0100 Subject: [PATCH] bemenu: stub package in tests --- tests/modules/programs/bemenu/basic-configuration.nix | 2 ++ tests/modules/programs/bemenu/empty-configuration.nix | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tests/modules/programs/bemenu/basic-configuration.nix b/tests/modules/programs/bemenu/basic-configuration.nix index 0615ae3c..b8d84469 100644 --- a/tests/modules/programs/bemenu/basic-configuration.nix +++ b/tests/modules/programs/bemenu/basic-configuration.nix @@ -19,6 +19,8 @@ }; }; + test.stubs.bemenu = { }; + nmt.script = '' assertFileExists home-path/etc/profile.d/hm-session-vars.sh assertFileContains home-path/etc/profile.d/hm-session-vars.sh \ diff --git a/tests/modules/programs/bemenu/empty-configuration.nix b/tests/modules/programs/bemenu/empty-configuration.nix index 5e56d9ed..d9e72969 100644 --- a/tests/modules/programs/bemenu/empty-configuration.nix +++ b/tests/modules/programs/bemenu/empty-configuration.nix @@ -1,6 +1,8 @@ { programs.bemenu = { enable = true; }; + test.stubs.bemenu = { }; + nmt.script = '' assertFileExists home-path/etc/profile.d/hm-session-vars.sh assertFileNotRegex home-path/etc/profile.d/hm-session-vars.sh \