Compiler : when generating model file add it to module (#296)

Before this fix, when creating a module for iTop that was creating PHP code (an iTop class for example, a snippet, ...) it was mandatory to add the model.php file in your module.php file ("datamodel" key). If you forgot this, then the compilation was completed OK but the result code wasn't included in iTop.

Now the compiler automatically adds the model.php file to the included files.
This commit is contained in:
Pierre Goiffon
2022-06-15 18:07:16 +02:00
committed by GitHub
parent 023ead39ec
commit abb13b70b9
3 changed files with 17 additions and 9 deletions

View File

@@ -71,7 +71,7 @@ class SetupUtilsTest extends ItopTestCase
"/bin/ls",
self::WARNING,
"dot could not be executed (retcode=2): Please make sure it is installed and in the path",
]
],
];
}