I'm no expert but I'm fairly sure cannabis stays in your urine/blood for around a week to a few weeks. I don't know if the concentration was high enough for you to get high so maybe you barely consumed any THC. However, the drug test WILL (i think, you'd have to look it up) pick it weed if you took the drugs test next Wednesday. The factors are:
How much of the drug was consumed and how strong it was (the strain, did you get high?);
Maybe how much you pee; if you drink a shit ton of water so you pee loads, I'm sure it would have some effect on the drugs test so it would get out of your system faster;
Maybe consider the local laws in your country/area. If they are lax, you may be able to get away with it if you say you had back pain or whatever.
I recommend the peeing option tbh as it will help get the chemicals out of your body. Try to eat and drink lots over the next week to try and dilute the concentration and increase the frequency you pee.