Skip to content

Commit ce491f8

Browse files
committed
Fix invalid base64
1 parent effe58f commit ce491f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

aas_test_engines/test_cases/v3_0/generate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def generate_invalid_values(arg: FunctionType.Argument) -> List[any]:
4141
return []
4242
if isinstance(arg.type, StringFormattedValueType):
4343
if arg.type.cls.base64:
44-
return ["invalid-base64"]
44+
return [_INVALID_BASE64URL]
4545
else:
4646
return []
4747
if isinstance(arg.type, EnumType):
@@ -51,7 +51,7 @@ def generate_invalid_values(arg: FunctionType.Argument) -> List[any]:
5151
return ["invalid-bool"]
5252
if isinstance(arg.type, ClassType):
5353
if arg.type.cls is AssetId:
54-
return ["invalid-base64"]
54+
return [_INVALID_BASE64URL]
5555
return []
5656
raise NotImplementedError(
5757
f"There is no generation implemented for:\n" + f"arg.type: {arg.type}\n" + f"arg.name: {arg.name}"

0 commit comments

Comments
 (0)