Port of main commit 1ef5fe73. The InstallerTestBase::setUpProfile() deprecation does not exist on 11.x, so that hunk is not applicable.
Closes #3616720