Skip to content

Commit aeaec47

Browse files
committed
Use correct subclass in tests
Signed-off-by: Stephen Gallagher <[email protected]>
1 parent 4b2dfed commit aeaec47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modulemd/v2/tests/test-modulemd-modulestream.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ module_stream_v1_test_dependencies (ModuleStreamFixture *fixture,
320320
gconstpointer user_data)
321321
{
322322
g_auto (GStrv) list;
323-
g_autoptr (ModulemdModuleStream) stream = NULL;
323+
g_autoptr (ModulemdModuleStreamV1) stream = NULL;
324324
stream = modulemd_module_stream_v1_new (NULL, NULL);
325325
modulemd_module_stream_v1_add_buildtime_requirement (
326326
stream, "testmodule", "stable");
@@ -352,7 +352,7 @@ module_stream_v2_test_dependencies (ModuleStreamFixture *fixture,
352352
gconstpointer user_data)
353353
{
354354
g_auto (GStrv) list;
355-
g_autoptr (ModulemdModuleStream) stream = NULL;
355+
g_autoptr (ModulemdModuleStreamV2) stream = NULL;
356356
g_autoptr (ModulemdDependencies) dep = NULL;
357357
stream = modulemd_module_stream_v2_new (NULL, NULL);
358358
dep = modulemd_dependencies_new ();

0 commit comments

Comments
 (0)