Skip to content

Conversation

@shabananavas
Copy link
Owner

No description provided.

$this->time
);

$this->assertArrayEquals([], $this->invokeMethod(
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How can we mock the Database::getAllConnectionInfo() and $database_log = Database::startLog('elastic_apm', $key); calls so that we can test this better with different options.

@shabananavas shabananavas changed the title WIP: #3086193 - Add unit tests #3086193 - Add unit tests Oct 9, 2019
@shabananavas
Copy link
Owner Author

@krystalcode @safalliajoseph I've added some tests for Elastic APM that tests the ApiService, RequestSubscriber, and ExceptionSubscriber classes.

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

Successfully merging this pull request may close these issues.

2 participants