diff --git a/test/fixtures/linter/rules/NoDeprecatedApi/Control_ManagedObject.js b/test/fixtures/linter/rules/NoDeprecatedApi/Control_ManagedObject.js index aac485c4..cd6ff800 100644 --- a/test/fixtures/linter/rules/NoDeprecatedApi/Control_ManagedObject.js +++ b/test/fixtures/linter/rules/NoDeprecatedApi/Control_ManagedObject.js @@ -2,7 +2,7 @@ sap.ui.define(["sap/ui/core/Control", "sap/m/library", "mycustom/lib/FancyMultiP function (Control, library, FancyMultiPage) { var DateTimeInputType = library.DateTimeInputType; var FrameType = library.FrameType; - return Control.extend("sap.fancy.Text", { + var FancyText = Control.extend("sap.fancy.Text", { metadata: { // sap.ui.commons.FormattedTextViewControl: deprecated interfaces: ["sap.ui.commons.FormattedTextViewControl"], @@ -68,4 +68,5 @@ sap.ui.define(["sap/ui/core/Control", "sap/m/library", "mycustom/lib/FancyMultiP }, }); + return FancyText; });