aerospike / php-client

Aerospike Client for PHP 8
https://aerospike.github.io/php-client/
9 stars 2 forks source link

PHPUnit mock Aerospike\Client #45

Open OlexandrKolesnykov opened 4 months ago

OlexandrKolesnykov commented 4 months ago

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 withRUST_BACKTRACE=1environment variable to display a backtrace fatal runtime error: failed to initiate panic, error 5