From 486aba724b37bc0b66a80d15f69d5b1688c17cb1 Mon Sep 17 00:00:00 2001 From: Marco Beier Date: Sat, 23 May 2020 15:07:56 +0200 Subject: [PATCH] adjusted define to require according to walkthrough step 4 - and removed some spacing --- webapp/test/unit/model/formatter.js | 3 +-- webapp/test/unit/model/models.js | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/webapp/test/unit/model/formatter.js b/webapp/test/unit/model/formatter.js index 8e0bcd3..a1e689e 100644 --- a/webapp/test/unit/model/formatter.js +++ b/webapp/test/unit/model/formatter.js @@ -1,6 +1,5 @@ /*global QUnit*/ - -sap.ui.define(["com/mrb/UI5-Testing/model/formatter"], function (formatter) { +sap.ui.require(["com/mrb/UI5-Testing/model/formatter"], function (formatter) { "use strict"; QUnit.module("Number unit"); diff --git a/webapp/test/unit/model/models.js b/webapp/test/unit/model/models.js index 8363944..784a410 100644 --- a/webapp/test/unit/model/models.js +++ b/webapp/test/unit/model/models.js @@ -1,5 +1,5 @@ /*global QUnit*/ -sap.ui.define(["com/mrb/UI5-Testing/model/models", "sap/ui/Device"], function ( +sap.ui.require(["com/mrb/UI5-Testing/model/models", "sap/ui/Device"], function ( models, Device ) {