Skip to content
This repository has been archived by the owner on Jun 16, 2024. It is now read-only.

The entity logical name account is not valid. #534

Answered by BetimBeja
goncalomelo8 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @goncalomelo8,
in your unit test you are not actually creating the account, you are just testing your plugin with the default context which is PreOperation of Create. Also I guess your test is failing in the Update account request in your CreateRelatedContact class... because the account is not currently in the context. Adding it to the context and testing the plugin should make your test pass, even though, I don't think is the correct way to do your test.

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@jordimontana82
Comment options

@goncalomelo8
Comment options

@BetimBeja
Comment options

Answer selected by jordimontana82
Comment options

You must be logged in to vote
1 reply
@goncalomelo8
Comment options

Comment options

You must be logged in to vote
1 reply
@goncalomelo8
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants