diff --git a/lib/galaxy/tool_util/parser/output_objects.py b/lib/galaxy/tool_util/parser/output_objects.py
index dba18ea03f6..77ea4977641 100644
--- a/lib/galaxy/tool_util/parser/output_objects.py
+++ b/lib/galaxy/tool_util/parser/output_objects.py
@@ -244,9 +244,8 @@ class ToolExpressionOutput(ToolOutputBase):
model_class = ToolOutputIntegerModel
elif self.output_type == "float":
model_class = ToolOutputFloatModel
- elif self.output_type == "bool":
+ elif self.output_type == "boolean":
model_class = ToolOutputBooleanModel
- model_type = "boolean"
elif self.output_type == "text":
model_class = ToolOutputTextModel
assert model_class
diff --git a/test/functional/tools/expression_null_handling_boolean.xml b/test/functional/tools/expression_null_handling_boolean.xml
index 51eb7d2cfd1..d3f788c13f1 100644
--- a/test/functional/tools/expression_null_handling_boolean.xml
+++ b/test/functional/tools/expression_null_handling_boolean.xml
@@ -7,7 +7,7 @@
-
+