You can test positive for narcotics, which codeine is. If you have been taking codeine, it's helpful to have a doctor's note and evidence of a prescription to show that your narcotics use is legit and not illegal drug abuse.
Depending on what test you are subject to, it may be found that you have taken an opiate (a type of drug. Eg. Morphine) depending on how much you have taken.