diff --git a/test/actions/pulp3/orchestration/file_delete_test.rb b/test/actions/pulp3/orchestration/file_delete_test.rb
index <HASH>..<HASH> 100644
--- a/test/actions/pulp3/orchestration/file_delete_test.rb
+++ b/test/actions/pulp3/orchestration/file_delete_test.rb
@@ -9,7 +9,7 @@ class FileDeleteTest < ActiveSupport::TestCase
     @repo.root.update_attributes(:url => 'http://test/test/')
     create_repo(@repo, @master)
     ForemanTasks.sync_task(
-      ::Actions::Katello::Repository::MetadataGenerate, repo,
+      ::Actions::Katello::Repository::MetadataGenerate, @repo,
       repository_creation: true)
     ForemanTasks.sync_task(
       ::Actions::Pulp3::Orchestration::Repository::Delete, @repo, @master)
Fixes #<I> - repairs file delete test setup