getgroups.test.sas
Go to the documentation of this file.
1 /**
2  @file
3  @brief testing getgroups service.
4 
5  <h4> SAS Macros </h4>
6  @li mf_getuser.sas
7  @li mp_assertcols.sas
8  @li mp_testservice.sas
9 
10 **/
11 
12 %let _program=&appLoc/services/public/getgroups;
13 
14 /* add user */
15 %put &=sasjs_mdebug;
16 %mp_testservice(&_program,
17  viyacontext=&defaultcontext,
18  outlib=webout,
19  mdebug=1,
20  debug=131
21 )
22 
23 
24 data work.return;
25  set webout.groups;
26  putlog (_all_)(=);
27 run;
28 
29 %mp_assertcols(work.return,
30  cols=groupuri groupname groupdesc,
31  test=ALL
32 )
33