Skip to content

PHPUnit mock Aerospike\Client #45

Description

@OlexandrKolesnykov

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions