You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I updated all my dependencies, and now the constructors are marked final.
So, I set up a static class property in setUpBeforeClass instead, but when I try to run the test, I get
Error: Typed static property Test::$property must not be accessed before initialization
I have a workaround by calling self::setUpBeforeClass(); at the top of the data providers, and ensuring the logic in setUpBeforeClass handles being run multiple times.
The text was updated successfully, but these errors were encountered:
I updated all my dependencies, and now the constructors are marked final.
So, I set up a static class property in
setUpBeforeClass
instead, but when I try to run the test, I getI have a workaround by calling
self::setUpBeforeClass();
at the top of the data providers, and ensuring the logic insetUpBeforeClass
handles being run multiple times.The text was updated successfully, but these errors were encountered: