nixosTests.dolibarr: migrate to runTest

Part of #386873
This commit is contained in:
Piotr Kwiecinski 2025-03-30 01:05:50 +01:00
parent 1c2f1b30b5
commit 48e6184ddf
No known key found for this signature in database
GPG Key ID: EC0DE1CB9D5258B4
2 changed files with 55 additions and 57 deletions

View File

@ -342,7 +342,7 @@ in {
documentation = pkgs.callPackage ../modules/misc/documentation/test.nix { inherit nixosLib; };
doh-proxy-rust = handleTest ./doh-proxy-rust.nix {};
dokuwiki = runTest ./dokuwiki.nix;
dolibarr = handleTest ./dolibarr.nix {};
dolibarr = runTest ./dolibarr.nix;
domination = handleTest ./domination.nix {};
dovecot = handleTest ./dovecot.nix {};
drawterm = discoverTests (import ./drawterm.nix);

View File

@ -1,6 +1,5 @@
import ./make-test-python.nix (
{ pkgs, lib, ... }:
{
{ ... }:
{
name = "dolibarr";
meta.maintainers = [ ];
@ -58,5 +57,4 @@ import ./make-test-python.nix (
parser.feed(machine.succeed('curl -f -X GET http://localhost/index.php?mainmenu=login&username=root'))
machine.succeed(f'curl -f -X POST http://localhost/index.php?mainmenu=login&token={csrf_token}&username=root&password=hunter2')
'';
}
)
}