Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHPUnit mock Aerospike\Client #45

Open
OlexandrKolesnykov opened this issue Jul 11, 2024 · 0 comments
Open

PHPUnit mock Aerospike\Client #45

OlexandrKolesnykov opened this issue Jul 11, 2024 · 0 comments

Comments

@OlexandrKolesnykov
Copy link

When I try to mock Client:
TestCase::createMock(\Aerospike\Client::class)
get error:
thread '<unnamed>' panicked at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ext-php-rs-0.12.0/src/types/class_object.rs:248:14: Attempted to access uninitialized class object note: run with RUST_BACKTRACE=1environment variable to display a backtrace fatal runtime error: failed to initiate panic, error 5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant