I am sure this is not a literal "going out for a beer", but still it bothers me that it exists and is called that way. I am 40yo (still junior though as I started learning to code at 37) and I don't drink.
I like to work on startups because I like to be generalist and solve problems that impact the fate of the company. So I always work with a lot of young people that like to go out. It is always a mismatch that I rarely go out with the team, and sad that this "go-out-for-q-beer test" is considered normal in some places.