mirror of
https://github.com/flatpak/flatpak.git
synced 2026-03-15 13:39:54 -04:00
In test_transaction_install_local(), we test that the origin remote created when installing from a local repo doesn't exist before flatpak_transaction_run() is executed and does exist afterward. However, the origin remote is created before the transaction is run; see the flatpak_dir_create_origin_remote() call in flatpak_transaction_add_ref(). The only reason this discrepancy has not caused a test failure is that the FlatpakDir object held by the FlatpakInstallation object is not reloaded when the origin remote is added (so it's reading an old copy of the repo config). This issue will be fixed in the commit following this one.