Skip to content

Commit

Permalink
Add missing roles for receptionist, correct test sapmentors#26
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorwolf authored and open-ui5 committed Oct 14, 2016
1 parent 3bc9c28 commit cf340de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion roles/receptionist.hdbrole
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
role com.sap.sapmentors.sitreg.roles::receptionist {

application privilege: "com.sap.sapmentors.sitreg.odatareceptionist::receptionist";
sql object com.sap.sapmentors.sitreg.odataparticipant.procedures::EventsRead: SELECT;
sql object com.sap.sapmentors.sitreg.odataparticipant.procedures::ParticipantsRead: SELECT;
sql object com.sap.sapmentors.sitreg.odataparticipant.procedures::RegistrationNumbersRead: SELECT;
sql object com.sap.sapmentors.sitreg.odatareceptionist.procedures::TicketRead: SELECT;
sql object com.sap.sapmentors.sitreg.odatareceptionist.procedures::TicketCheck: EXECUTE;
sql object com.sap.sapmentors.sitreg.odatareceptionist.procedures::TicketUpdate: EXECUTE;
Expand Down
2 changes: 1 addition & 1 deletion test/spec/Receptionist.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ describe("Check that manual checkin was fullfilled", function() {
var xhr = getParticipantEventTicketDetails(eventIDsmall, participantIDmanual);
expect(xhr.status).toBe(200);
var body = xhr.responseText ? JSON.parse(xhr.responseText) : "";
expect(body.OUTC[0].TicketUsed).toBe('M');
expect(body.d.TicketUsed).toBe('M');
});
});

Expand Down

0 comments on commit cf340de

Please sign in to comment.