aboutsummaryrefslogtreecommitdiff
path: root/tests/lib
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
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')
-rw-r--r--tests/lib/CssXPath/CssXPathTest.php8
-rw-r--r--tests/lib/PHPMailer/PHPMailerTest.php4
2 files changed, 10 insertions, 2 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'));
+ }
+}
diff --git a/tests/lib/PHPMailer/PHPMailerTest.php b/tests/lib/PHPMailer/PHPMailerTest.php
index 4707e2a1e..8fc14b815 100644
--- a/tests/lib/PHPMailer/PHPMailerTest.php
+++ b/tests/lib/PHPMailer/PHPMailerTest.php
@@ -1,7 +1,7 @@
<?php
-class PHPMailerTest extends PHPUnit\Framework\TestCase {
-
+class PHPMailerTest extends PHPUnit\Framework\TestCase
+{
public function testPHPMailerClassExists() {
$this->assertTrue(class_exists('PHPMailer\\PHPMailer\\PHPMailer'));
}