Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(upgrade): rename angular.module() to angular.module_() #30126

Closed
wants to merge 1 commit into from

Conversation

gkalpak
Copy link
Member

@gkalpak gkalpak commented Apr 25, 2019

With #30058, the ngUpgrade internal angular.module() method was renamed to angular.module_() (to avoid a webpack bug).

Merging #29794 afterwards resulted in some broken tests, because it still used the old angular.module() method name. (The PR had been tested on CI against a revision that did not contain the rename.)

This commit fixes the broken tests by renaming the remaining occurrences of angular.module().

I have also incorporated the changes in #30107 for 7.2.x.

With angular#30058, the ngUpgrade internal `angular.module()` method was
renamed to `angular.module_()` (to avoid a webpack bug).

Merging angular#29794 afterwards resulted in some broken tests, because it
still used the old `angular.module()` method name. (The PR had been
tested on CI against a revision that did not contain the rename.)

This commit fixes the broken tests by renaming the remaining occurrences
of `angular.module()`.
@gkalpak gkalpak requested a review from a team as a code owner April 25, 2019 18:45
@gkalpak gkalpak added area: upgrade Issues related to AngularJS → Angular upgrade APIs effort1: hours action: merge The PR is ready for merge by the caretaker target: major This PR is targeted for the next major release risk: low type: bug/fix labels Apr 25, 2019
@ngbot ngbot bot added this to the Backlog milestone Apr 25, 2019
@mary-poppins
Copy link

You can preview ee50fd9 at https://pr30126-ee50fd9.ngbuilds.io/.

Copy link
Contributor

@AndrewKushnir AndrewKushnir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gkalpak gkalpak deleted the test-upgrade-fix branch April 25, 2019 19:05
BioPhoton pushed a commit to BioPhoton/angular that referenced this pull request May 21, 2019
…lar#30126)

With angular#30058, the ngUpgrade internal `angular.module()` method was
renamed to `angular.module_()` (to avoid a webpack bug).

Merging angular#29794 afterwards resulted in some broken tests, because it
still used the old `angular.module()` method name. (The PR had been
tested on CI against a revision that did not contain the rename.)

This commit fixes the broken tests by renaming the remaining occurrences
of `angular.module()`.

PR Close angular#30126
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: upgrade Issues related to AngularJS → Angular upgrade APIs cla: yes effort1: hours risk: low target: major This PR is targeted for the next major release type: bug/fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants