Can my prescription meds give me a false positive pregnancy test?

Patient: I am currently on Cheratussin AC (only took once 2 days ago) and Flexeril (taken daily) and got a positive result today on two different tests. I’m scared to get my hopes up since we have been trying for 24 months.

Doctor: