Fix(tests/buildClan): reduce expected attributes

This commit is contained in:
Johannes Kirschbauer
2025-06-10 19:00:57 +02:00
parent c26743c247
commit 4e008166be

View File

@@ -89,7 +89,7 @@ in
}; };
in in
{ {
expr = config.clanInternals.meta; expr = config.clanInternals.inventory.meta;
expected = { expected = {
description = null; description = null;
icon = null; icon = null;
@@ -108,35 +108,8 @@ in
}; };
in in
{ {
expr = result.clanInternals.meta; expr = lib.isAttrs result.clanInternals;
expected = { expected = true;
description = null;
icon = null;
name = "test";
};
};
test_fn_extensiv_meta =
let
result = buildClan {
self = {
inputs = { };
};
directory = ./.;
meta.name = "test";
meta.description = "test";
meta.icon = "test";
inventory.meta.name = "superclan";
inventory.meta.description = "description";
inventory.meta.icon = "icon";
};
in
{
expr = result.clanInternals.meta;
expectedError = {
type = "ThrownError";
msg = "";
};
}; };
test_fn_clan_core = test_fn_clan_core =