Code Monkey home page Code Monkey logo

Comments (4)

daveespo avatar daveespo commented on May 24, 2024

This ticket is erroneously filed in the fflib-apex-mocks repo -- the unit test failure you're seeing is from fflib_SObjectUnitOfWorkTest which is in fflib-apex-common

However, before we go file the ticket over there -- do you have Platform Encryption (Shield) enabled on Opportunity in your org?

The query to retrieve Opportunities for that assertion use a SOQL query that depends on a LIKE clause:

[select Id, Name, (Select Id from OpportunityLineItems) from Opportunity where Name like :filter order by Name];

If that's the case, then it's probably a flavor of the same issue reported in apex-enterprise-patterns/fflib-apex-common#194

from fflib-apex-mocks.

lopezfra avatar lopezfra commented on May 24, 2024

true @daveespo , I created the issue in the wrong repo...sorry for that. Nup, If I am right, Platform Encryption Shield is not activated in the org...

from fflib-apex-mocks.

ImJohnMDaniel avatar ImJohnMDaniel commented on May 24, 2024

@lopezfra -- I just setup a clean scratch org and deployed the fflib-apex-mocks and fflib-apex-common code from the current master branches. All of the unit tests passed.

So, whatever the issue is, I suspect that it is environmental.

I would recommend that you open a new ticket on the fflib-apex-common project issues and we can figure this out from there.

from fflib-apex-mocks.

lopezfra avatar lopezfra commented on May 24, 2024

fully agree @ImJohnMDaniel ,closing this one to avoid any misunderstanding and I will open a new one in the right repo. Thanks!

from fflib-apex-mocks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.