diff --git a/tests/_container_build_kiwi.pm b/tests/_container_build_kiwi.pm
index fef4cba0..c10aba7c 100644
--- a/tests/_container_build_kiwi.pm
+++ b/tests/_container_build_kiwi.pm
@@ -78,14 +78,6 @@ sub run {
# to mirrorlist
assert_script_run 'sed -i -e "s,/usr/share/distribution-gpg-keys/fedora,/etc/pki/rpm-gpg,g" ' . $repoxml;
repos_mirrorlist $repoxml;
- # configure dnf5 if we're testing the dnf5-as-dnf update
- # https://pagure.io/fedora-kiwi-descriptions/pull-request/46 is
- # the corresponding PR, drop this once the update is pushed
- if ($advortask eq "FEDORA-2024-8a41ea93a2") {
- assert_script_run 'sed -i -e "s,dnf,dnf5,g" config.xml';
- assert_script_run 'sed -i -e "s,dnf-yum,yum,g" teams/cloud/container.xml';
- assert_script_run 'sed -i -e "s,dnf-yum,yum,g" teams/cloud/vagrant.xml';
- }
# now add the side repo or tag repo to the appropriate repo XML
assert_script_run 'printf "$(head -n -1 ' . $repoxml . ')\n \n \n\n" > ' . $repoxml unless ($tag || $copr);
assert_script_run 'printf "$(head -n -1 ' . $repoxml . ')\n \n \n \n\n" > ' . $repoxml if ($tag || $copr);