1
0
mirror of https://github.com/sasjs/core.git synced 2026-01-03 15:40:05 +00:00

fix: tests with new APIs are now passing

This commit is contained in:
Allan Bowe
2022-06-16 11:37:31 +00:00
parent cb553a31ab
commit a1c931b5e6
6 changed files with 33 additions and 64 deletions

View File

@@ -35,7 +35,7 @@ run;
%let checkid=0;
data _null_;
set work.test2;
where name="&group";
where upcase(name)="%upcase(&group)";
call symputx('checkid',groupid);
run;
%mp_assert(

View File

@@ -37,7 +37,7 @@ run;
data _null_;
set work.test2;
if _n_<20 then putlog (_all_)(=);
if username="&user";
if upcase(username)="%upcase(&user)";
call symputx('checkid',id);
run;
%mp_assert(

View File

@@ -28,9 +28,12 @@
%mp_assertdsobs(work.test1,test=ATLEAST 1)
%let test2=0;
%put &=group;
data _null_;
set work.test1;
if groupname="&group" then do;
putlog (_all_)(=);
if upcase(name)="%upcase(&group)" then do;
putlog "&group found!";
call symputx('test2',1);
call symputx('gid',groupid); /* used in next test */
end;