Change StaticWarningCode.UNDEFINED_GETTER to StaticTypeWarningCode (#644)

diff --git a/angular_analyzer_plugin/test/resolver_test.dart b/angular_analyzer_plugin/test/resolver_test.dart
index e4cf391..a668aea 100644
--- a/angular_analyzer_plugin/test/resolver_test.dart
+++ b/angular_analyzer_plugin/test/resolver_test.dart
@@ -3384,8 +3384,8 @@
     await _resolveSingleTemplate(dartSource);
     expect(ranges, hasLength(2)); // the 'prefixed' prefixes only
     errorListener.assertErrorsWithCodes([
-      StaticWarningCode.UNDEFINED_GETTER,
-      StaticWarningCode.UNDEFINED_GETTER,
+      StaticTypeWarningCode.UNDEFINED_GETTER,
+      StaticTypeWarningCode.UNDEFINED_GETTER,
       StaticWarningCode.UNDEFINED_IDENTIFIER,
     ]);
   }