Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Extensions
mosaicomsgtpl
Commits
6867ccbf
Commit
6867ccbf
authored
Jan 17, 2021
by
Seamus Lee
Browse files
Update unit tests to be compatiable with PHPUnit6&7
parent
b6071d23
Changes
2
Hide whitespace changes
Inline
Side-by-side
phpunit.xml.dist
View file @
6867ccbf
<?xml version="1.0"?>
<phpunit
backupGlobals=
"false"
backupStaticAttributes=
"false"
colors=
"true"
convertErrorsToExceptions=
"true"
convertNoticesToExceptions=
"true"
convertWarningsToExceptions=
"true"
processIsolation=
"false"
stopOnFailure=
"false"
syntaxCheck=
"false"
bootstrap=
"tests/phpunit/bootstrap.php"
>
<phpunit
backupGlobals=
"false"
backupStaticAttributes=
"false"
colors=
"true"
convertErrorsToExceptions=
"true"
convertNoticesToExceptions=
"true"
convertWarningsToExceptions=
"true"
processIsolation=
"false"
stopOnFailure=
"false"
bootstrap=
"tests/phpunit/bootstrap.php"
>
<testsuites>
<testsuite
name=
"My Test Suite"
>
<directory>
./tests/phpunit
</directory>
...
...
tests/phpunit/api/v3/Job/MosaicoMsgSyncTest.php
View file @
6867ccbf
...
...
@@ -10,7 +10,7 @@ use CRM_Mosaicomsgtpl_ExtensionUtil as E;
* This is a generic test class implemented with PHPUnit.
* @group headless
*/
class
api_v3_Job_MosaicoMsgSyncTest
extends
\
PHPUnit
_
Framework
_
TestCase
implements
HeadlessInterface
,
HookInterface
,
TransactionalInterface
{
class
api_v3_Job_MosaicoMsgSyncTest
extends
\
PHPUnit
\
Framework
\
TestCase
implements
HeadlessInterface
,
HookInterface
,
TransactionalInterface
{
/**
* Civi\Test has many helpers, like install(), uninstall(), sql(), and sqlFile().
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment