If inventory is sold on credit at a profit, then inventory will fall and receivables will increase. Because it is sold at a profit, the increase in receivables will be higher than the fall in inventory.
So….current assets in total will be higher (so current ratio increases).
Also, current assets minus inventory will be higher (so quick ratio increases)