Category

elasticsearch

Elasticsearch type gotcha

I recently was working on updating some elasticsearch tests we have for WordPress.com. We have so-called isolated tests, which use a real MySQL database and a real Elasticsearch t…

Closures in PHPUnit dataProviders

Today I was working on a PHPUnit test at work for testing Elasticsearch. In this case, I wanted to make sure that the data that I was indexing was findable. Basically I wanted to…