Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dawehner’s picture

Status: Active » Needs review
FileSize
6.8 KB

Let's implement a views query plugin in PHP :)

aspilicious’s picture

Status: Needs review » Reviewed & tested by the community

As a basic test that checks if the correct functions get calles and the correct classes are instantiated this looks prety good. I would commit this and expand it if needed when we find more bugs or broken features.

dawehner’s picture

Status: Reviewed & tested by the community » Fixed

It's for sure kind of problematic that the query plugin itself doesn't define
a lot of methods so you can't test some really expected behavior.

You are totally right, this at least creates a foundation for more detailed tests.

Automatically closed -- issue fixed for 2 weeks with no activity.