It seems unlikely to me that ammonia would build up from two minnows in two gallons of water in less than 10 hours, but I'm inexperienced so I won't argue about it. I also have a 10 gallon tank, but it has platy fry in it already, so I was stuck for options when I thought spawning was eminent...