Two men will be sentenced in October after they admitted inflicting grievious bodily harm on another man.