1
0
mirror of https://github.com/sasjs/core.git synced 2026-01-09 10:20:06 +00:00

fix: tests for ms_createwebservice and mp_createwebservice

This commit is contained in:
Allan Bowe
2022-04-25 21:33:14 +00:00
parent f9b0f87f44
commit 8bd31e6c97
6 changed files with 80 additions and 10 deletions

View File

@@ -0,0 +1,28 @@
/**
@file
@brief Testing ms_createwebservice.sas macro
<h4> SAS Macros </h4>
@li mf_getuniquefileref.sas
@li mp_assertscope.sas
@li ms_createwebservice.sas
**/
%let path=&mcTestAppLoc/ms_createwebservice;
%let name=myservice;
%let fref=%mf_getuniquefileref();
data _null_;
file &fref lrecl=3000;
put '%put hello world;';
run;
%mp_assertscope(SNAPSHOT)
%ms_createwebservice(path=&path,name=&name,code=&fref,mdebug=&sasjs_mdebug)
%mp_assertscope(COMPARE)