Covid test before being induced

Fi

My hospital just called and they want me to go in for a covid test on Friday cause I’m being induced on Sunday. I asked if my husband can also get one done since he will be there they said no. How does that even make sense? They should just test anyone going in 😠