nixosTests.firefly-iii: migrate to runTest

Part of #386873
This commit is contained in:
Piotr Kwiecinski 2025-03-31 22:56:18 +02:00
parent 3a8c9fbc75
commit d235e9cd90
No known key found for this signature in database
GPG key ID: EC0DE1CB9D5258B4
2 changed files with 106 additions and 108 deletions

View file

@ -398,7 +398,7 @@ in {
fider = runTest ./fider.nix; fider = runTest ./fider.nix;
filesender = handleTest ./filesender.nix {}; filesender = handleTest ./filesender.nix {};
filesystems-overlayfs = runTest ./filesystems-overlayfs.nix; filesystems-overlayfs = runTest ./filesystems-overlayfs.nix;
firefly-iii = handleTest ./firefly-iii.nix {}; firefly-iii = runTest ./firefly-iii.nix;
firefly-iii-data-importer = handleTest ./firefly-iii-data-importer.nix {}; firefly-iii-data-importer = handleTest ./firefly-iii-data-importer.nix {};
firefox = runTest { firefox = runTest {
imports = [./firefox.nix ]; imports = [./firefox.nix ];

View file

@ -1,11 +1,10 @@
import ./make-test-python.nix ( { lib, ... }:
{ lib, ... }:
let let
db-pass = "Test2Test2"; db-pass = "Test2Test2";
app-key = "TestTestTestTestTestTestTestTest"; app-key = "TestTestTestTestTestTestTestTest";
in in
{ {
name = "firefly-iii"; name = "firefly-iii";
meta.maintainers = [ lib.maintainers.savyajha ]; meta.maintainers = [ lib.maintainers.savyajha ];
@ -115,5 +114,4 @@ import ./make-test-python.nix (
fireflyMysql.succeed("curl -fvvv -Ls http://localhost/ | grep 'Firefly III'") fireflyMysql.succeed("curl -fvvv -Ls http://localhost/ | grep 'Firefly III'")
fireflyMysql.succeed("systemctl start firefly-iii-cron.service") fireflyMysql.succeed("systemctl start firefly-iii-cron.service")
''; '';
} }
)