Yeah, I think even "cake donuts" (no yeast) need an actual cake donut recipe, not just blobs of cake batter dropped in hot oil. I don't know exactly what was wrong with your attempt since you didn't post the full recipe, but you can search for chocolate cake donut recipes online. Try one of them, or at least compare it to your attempt to see where they differ. My guess is the recipes for cake donuts are probably denser with more egg per the amount of flour.