I took a saliva test a couple years ago

Had smoked 3 days before the test.... passed

Make sure you clean your teeth really good 2-3 times a day. Possibly rinse with mouth wash multiple times a day and you should be fine.
Saliva tests seem to see the past 48 hours or less.