summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-07-07 12:22:49 +0200
committerGitHub <noreply@github.com>2022-07-07 12:22:49 +0200
commit1e553e34fbc74e16fbecc59406c97e3a0f4a5698 (patch)
tree7d78357fcb55f776ebb5ff9ee72139bc2ea27198 /tests
parentbc419e1c5ee3a0cd8c4156b2e65d94f6f46c7543 (diff)
parent344ba0ffaf3f7d39bd5a1304ba6a6070d442a963 (diff)
Merge pull request #62108 from bruvzg/font_config_v3
Diffstat (limited to 'tests')
-rw-r--r--tests/scene/test_theme.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/scene/test_theme.h b/tests/scene/test_theme.h
index fedffc8449..f7cfa0fd5b 100644
--- a/tests/scene/test_theme.h
+++ b/tests/scene/test_theme.h
@@ -46,7 +46,7 @@ public:
} const valid_data[Theme::DATA_TYPE_MAX] = {
{ Theme::DATA_TYPE_COLOR, Color() },
{ Theme::DATA_TYPE_CONSTANT, 42 },
- { Theme::DATA_TYPE_FONT, Ref<Font>(memnew(Font)) },
+ { Theme::DATA_TYPE_FONT, Ref<FontFile>(memnew(FontFile)) },
{ Theme::DATA_TYPE_FONT_SIZE, 42 },
{ Theme::DATA_TYPE_ICON, Ref<Texture>(memnew(ImageTexture)) },
{ Theme::DATA_TYPE_STYLEBOX, Ref<StyleBox>(memnew(StyleBoxFlat)) },