Fix fetching the wrong version of cowboy when deps update (#3080)
Fix fetching the wrong version of cowboy when deps update (#3080)

Previously, if the version of a dependency which depends on cowboy (such
as plug) is updated beyond the version specified in the lock file, it
will also update cowboy. This will cause the tests to run against Cowboy
2 even when COWBOY_VERSION is set to 1.0.

This commit raises on the test helper when the version specified in
COWBOY_VERSION is "1.x" and the version of Cowboy in version 2.
evax/phoenix,eksperimental/phoenix,Kosmas/phoenix,nshafer/phoenix,rafbgarcia/phoenix,jwarwick/phoenix,phoenixframework/phoenix,Kosmas/phoenix,evax/phoenix,rafbgarcia/phoenix,keathley/phoenix,dmarkow/phoenix,michalmuskala/phoenix,0x00evil/phoenix,mitchellhenke/phoenix,optikfluffel/phoenix,dmarkow/phoenix,optikfluffel/phoenix,eksperimental/phoenix,rafbgarcia/phoenix,Gazler/phoenix,0x00evil/phoenix,Gazler/phoenix,phoenixframework/phoenix,nshafer/phoenix,0x00evil/phoenix,Joe-noh/phoenix,mitchellhenke/phoenix,nshafer/phoenix,keathley/phoenix,Joe-noh/phoenix,jwarwick/phoenix,optikfluffel/phoenix,phoenixframework/phoenix,michalmuskala/phoenix