@@ -72,7 +72,7 @@ public void testGenerateCode() throws Exception {
7272
7373 MenuTreeWithCodeOptions projectOptions = new MenuTreeWithCodeOptions (DomainFixtures .fullEspAmplifierTestTree (), options , "Test Project" );
7474 PersistedProject project = persistor .asPersistedProject (projectOptions );
75- GenerateCodeRequest request = new GenerateCodeRequest (project , List .of (), List .of ());
75+ GenerateCodeRequest request = new GenerateCodeRequest (project , null , List .of (), List .of ());
7676 doReturn (request ).when (controller ).processGenerateCodeRequest (anyString ());
7777
7878 CodePluginItem inputPlugin = mock (CodePluginItem .class );
@@ -123,7 +123,7 @@ public void testGenerateCodeInvalidRequest() throws Exception {
123123
124124 MenuTreeWithCodeOptions projectOptions = new MenuTreeWithCodeOptions (DomainFixtures .fullEspAmplifierTestTree (), options , "Test Project" );
125125 PersistedProject project = persistor .asPersistedProject (projectOptions );
126- GenerateCodeRequest request = new GenerateCodeRequest (project , List .of (), List .of ());
126+ GenerateCodeRequest request = new GenerateCodeRequest (project , "override" , List .of (), List .of ());
127127 doReturn (request ).when (controller ).processGenerateCodeRequest (anyString ());
128128
129129 HttpServletRequest servletRequest = mock (HttpServletRequest .class );
@@ -154,7 +154,7 @@ public void testGenerateCodeRateLimit() throws Exception {
154154
155155 MenuTreeWithCodeOptions projectOptions = new MenuTreeWithCodeOptions (DomainFixtures .fullEspAmplifierTestTree (), options , "Test Project" );
156156 PersistedProject project = persistor .asPersistedProject (projectOptions );
157- GenerateCodeRequest request = new GenerateCodeRequest (project , List .of (), List .of ());
157+ GenerateCodeRequest request = new GenerateCodeRequest (project , null , List .of (), List .of ());
158158 doReturn (request ).when (controller ).processGenerateCodeRequest (anyString ());
159159
160160 CodePluginItem inputPlugin = mock (CodePluginItem .class );
@@ -196,7 +196,7 @@ public void testGenerateCodeWithDuplicatePropertyNames() throws Exception {
196196 new CreatorProperty ("ORIENTATION_SEPARATOR" , "val1" , SubSystem .DISPLAY ),
197197 new CreatorProperty ("ORIENTATION_SEPARATOR" , "val2" , SubSystem .INPUT )
198198 );
199- GenerateCodeRequest request = new GenerateCodeRequest (project , frontEndProperties , List .of ());
199+ GenerateCodeRequest request = new GenerateCodeRequest (project , null , frontEndProperties , List .of ());
200200 doReturn (request ).when (controller ).processGenerateCodeRequest (anyString ());
201201
202202 CodePluginItem inputPlugin = mock (CodePluginItem .class );
0 commit comments