Update functional test to use scheduled publication factory