Unverified Commit b0e2f850 authored by Maximilian Bosch's avatar Maximilian Bosch Committed by GitHub
Browse files

Merge pull request #287819 from Ma27/nc-regression-test

nixos/nextcloud: add regression test for not delivering code anymore
parents 3787cb64 37d6961f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@ in {
        };
        extraAppsEnable = true;
        extraApps = {
          inherit (pkgs."nextcloud${lib.versions.major config.services.nextcloud.package.version}Packages".apps) notify_push;
          inherit (pkgs."nextcloud${lib.versions.major config.services.nextcloud.package.version}Packages".apps) notify_push notes;
        };
        settings.trusted_proxies = [ "::1" ];
      };
@@ -92,5 +92,7 @@ in {

    # redis cache should not be empty
    nextcloud.fail('test "[]" = "$(redis-cli --json KEYS "*")"')

    nextcloud.fail("curl -f http://nextcloud/nix-apps/notes/lib/AppInfo/Application.php")
  '';
})) args