diff --git a/src/elements/Popups/AddActorPopup/AddActorPopup.test.js b/src/elements/Popups/AddActorPopup/AddActorPopup.test.js
index 2638eea..186ecf8 100644
--- a/src/elements/Popups/AddActorPopup/AddActorPopup.test.js
+++ b/src/elements/Popups/AddActorPopup/AddActorPopup.test.js
@@ -31,7 +31,7 @@ describe('', function () {
});
it('test api call and insertion of actor tiles', function () {
- global.callAPIMock([{id: 1, actorname: 'test'}, {id: 2, actorname: 'test2'}]);
+ global.callAPIMock([{id: 1, name: 'test'}, {id: 2, name: 'test2'}]);
const wrapper = shallow();
@@ -44,7 +44,7 @@ describe('', function () {
global.callAPIMock({result: 'success'});
- wrapper.setState({actors: [{actor_id: 1, actorname: 'test'}]}, () => {
+ wrapper.setState({actors: [{actor_id: 1, name: 'test'}]}, () => {
wrapper.find('ActorTile').dive().simulate('click');
expect(callAPI).toHaveBeenCalledTimes(1);
@@ -59,7 +59,7 @@ describe('', function () {
global.callAPIMock({result: 'nosuccess'});
- wrapper.setState({actors: [{actor_id: 1, actorname: 'test'}]}, () => {
+ wrapper.setState({actors: [{actor_id: 1, name: 'test'}]}, () => {
wrapper.find('ActorTile').dive().simulate('click');
expect(callAPI).toHaveBeenCalledTimes(1);