0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

nixosTests.wordpress: migrate to runTest

Part of #386873
This commit is contained in:
Piotr Kwiecinski 2025-03-29 16:14:24 +01:00
parent eb0e0f21f1
commit b7d2e507e0
No known key found for this signature in database
GPG key ID: EC0DE1CB9D5258B4
2 changed files with 112 additions and 114 deletions

View file

@ -1314,7 +1314,7 @@ in {
wmderland = handleTest ./wmderland.nix {};
workout-tracker = handleTest ./workout-tracker.nix {};
wpa_supplicant = import ./wpa_supplicant.nix { inherit pkgs runTest; };
wordpress = handleTest ./wordpress.nix {};
wordpress = runTest ./wordpress.nix;
wrappers = handleTest ./wrappers.nix {};
writefreely = handleTest ./web-apps/writefreely.nix {};
wstunnel = runTest ./wstunnel.nix;

View file

@ -1,9 +1,8 @@
import ./make-test-python.nix (
{ lib, pkgs, ... }:
{ lib, config, ... }:
rec {
name = "wordpress";
meta = with pkgs.lib.maintainers; {
meta = with lib.maintainers; {
maintainers = [
flokli
grahamc # under duress!
@ -16,7 +15,7 @@ import ./make-test-python.nix (
(
a: version:
let
package = pkgs."wordpress_${version}";
package = config.node.pkgs."wordpress_${version}";
in
a
// {
@ -120,4 +119,3 @@ import ./make-test-python.nix (
)
'';
}
)