Raise global feature error in development and test environments

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

We raise error: https://gitlab.com/gitlab-org/gitlab/blob/cebe5a8d4b5e50e5da439c63caa790ad7d1b0884/ee/app/models/license.rb#L235

But this happens only in production environment currently because this method is being guarder by should_check_namespace_plan? https://gitlab.com/gitlab-org/gitlab/blob/05f142ea9428992ef2df7dea5a9dfb148b7fa406/ee/app/models/ee/project.rb#L747

This was one of the causes for the https://gitlab.com/gitlab-org/release-stage/issues/3#note_269671971

Edited by 🤖 GitLab Bot 🤖