Skip to content

Commit

Permalink
Add CI for MW 1.41 (#113)
Browse files Browse the repository at this point in the history
* Add CI for MW 1.41

* Update extension.json

* Update I18nJsonFileIntegrityTest.php

* Update ConfigTest.php

* Update MermaidConfigExtractorTest.php

* Update MermaidParserFunctionTest.php
  • Loading branch information
paladox authored Dec 28, 2024
1 parent fd40894 commit 2d19a37
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 4 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ jobs:
database_image: "mariadb:11.2"
coverage: true
experimental: false
- mediawiki_version: '1.41'
smw_version: dev-master
php_version: 8.1
database_type: mysql
database_image: "mariadb:11.2"
coverage: false
experimental: false


env:
Expand Down
4 changes: 4 additions & 0 deletions extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
"AutoloadNamespaces": {
"Mermaid\\": "src/"
},
"TestAutoloadNamespaces": {
"Mermaid\\Tests\\": "tests/phpunit/Unit/",
"Mermaid\\Tests\\Integration\\": "tests/phpunit/Integration/"
},
"ResourceModules": {
"ext.mermaid": {
"scripts": [
Expand Down
2 changes: 1 addition & 1 deletion tests/phpunit/Integration/I18nJsonFileIntegrityTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*
* @author mwjames
*/
class I18nJsonFileIntegrityTest extends \PHPUnit_Framework_TestCase {
class I18nJsonFileIntegrityTest extends \PHPUnit\Framework\TestCase {

/**
* @dataProvider i18nFileProvider
Expand Down
2 changes: 1 addition & 1 deletion tests/phpunit/Unit/ConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Mermaid\Config;

class ConfigTest extends \PHPUnit_Framework_TestCase
class ConfigTest extends \PHPUnit\Framework\TestCase
{

public function testGetDefaultThemeWithNoValueInGlobal()
Expand Down
2 changes: 1 addition & 1 deletion tests/phpunit/Unit/MermaidConfigExtractorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*
* @author howlowck
*/
class MermaidConfigExtractorTest extends \PHPUnit_Framework_TestCase
class MermaidConfigExtractorTest extends \PHPUnit\Framework\TestCase
{
/**
* @dataProvider caseProvider
Expand Down
2 changes: 1 addition & 1 deletion tests/phpunit/Unit/MermaidParserFunctionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*
* @author mwjames
*/
class MermaidParserFunctionTest extends \PHPUnit_Framework_TestCase
class MermaidParserFunctionTest extends \PHPUnit\Framework\TestCase
{
public function testCanConstruct()
{
Expand Down

0 comments on commit 2d19a37

Please sign in to comment.