Skip to content

Commit

Permalink
fixing tests.
Browse files Browse the repository at this point in the history
Signed-off-by: talktovikas <[email protected]>
  • Loading branch information
talktovikas committed Nov 11, 2024
1 parent 48b0a94 commit 0bc961f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ get_license_company_name()->
CN.

determine_license_id()->
LicID =
{_Lic, _Type, _GracePeriod, _ExpDate, _Msg, _CN, LicenseID} = gen_server:call(chef_license_worker, get_license),
case LicenseID of
undefined ->
Expand All @@ -215,7 +214,7 @@ determine_license_id()->
<<"Infra-Server-license-Id">>;
_ ->
LicenseID
end,LicID.
end.


get_company_name(State) ->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ get_message() ->
end.

determine_license_id()->
LicId =
{_Lic, _Type, _GracePeriod, _ExpDate, _Msg, _CN, LicenseID} = gen_server:call(chef_license_worker, get_license),
case LicenseID of
undefined ->
Expand All @@ -153,7 +152,7 @@ determine_license_id()->
<<"Infra-Server-license-Id">>;
_ ->
LicenseID
end,LicId.
end.

validate(Req, Expected) ->
Licence = ej:get({<<"licenseId">>}, Req),
Expand Down

0 comments on commit 0bc961f

Please sign in to comment.