Skip to content

Commit

Permalink
Test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mschaab-SA committed Nov 12, 2024
1 parent 914d195 commit 817c5f1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ void getAuthorizationHeaderWithoutPayload() {

@Test
void testGetAuthorizationHeaderWithPayload() {
StatusRequest statusRequest = new StatusRequest("some status");
StatusRequest statusRequest = new StatusRequest("someStatus");

String query = StatusQuery.queryStatus(saAuth.getRealm(), "userId");

String header = RestApiHeader.getAuthorizationHeader(saAuth, Resource.METHOD_POST, query, statusRequest, getServerTime());

assertEquals("Basic YXBwbGljYXRpb25JRDphWDBCbitNVXIvMmNtRGJxTVdnRjNuZ0JRWW5QcHNkR3pEanYrTUh1aUhBPQ==", header);
assertEquals("Basic YXBwbGljYXRpb25JRDpnMkxoalVVdmV5Nk9zUDRlcERTUy9RVEJteDBxdDV0MFhLOWF1YTNuK3BBPQ==", header);
}


Expand Down

0 comments on commit 817c5f1

Please sign in to comment.