Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
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.
Comments
Comment #1
dawehnerLet's implement a views query plugin in PHP :)
Comment #2
aspilicious commentedAs 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.
Comment #3
dawehnerIt'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.