aboutsummaryrefslogtreecommitdiff
path: root/tests/lib/CssXPath/CssXPathTest.php
diff options
context:
space:
mode:
authorGravatar Artur Weigandt <Art4@users.noreply.github.com> 2022-05-16 12:04:43 +0200
committerGravatar GitHub <noreply@github.com> 2022-05-16 12:04:43 +0200
commitd6fd78b96837969dc36ff852a3288fd45f8f9e61 (patch)
tree74d5482fad307e0e62c751535298d1e7c8f1ee5b /tests/lib/CssXPath/CssXPathTest.php
parentffd1061850d73182d40126658a0e9dd7f28f646e (diff)
Allow CssXPath updates with composer (#4368)
* Install CssXPath with composer * Fix code style in tests * fix pathnames for tests and linting * add irrelevant files to .gitignore * Alphabetic order * let composer sort the packages alphabetically Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'tests/lib/CssXPath/CssXPathTest.php')
-rw-r--r--tests/lib/CssXPath/CssXPathTest.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/lib/CssXPath/CssXPathTest.php b/tests/lib/CssXPath/CssXPathTest.php
new file mode 100644
index 000000000..c6fe24fc8
--- /dev/null
+++ b/tests/lib/CssXPath/CssXPathTest.php
@@ -0,0 +1,8 @@
+<?php
+
+class CssXPathTest extends PHPUnit\Framework\TestCase
+{
+ public function testCssXPathTranslatorClassExists() {
+ $this->assertTrue(class_exists('Gt\\CssXPath\\Translator'));
+ }
+}