1
0
mirror of https://github.com/flarum/core.git synced 2025-08-31 11:52:16 +02:00

fix(subscriptions): reply notifications not working (#3445)

* chore: subscriptions backend test infrastructure

* test: reply notification

* fix: fix reply notifications not working
This commit is contained in:
Sami Mazouz
2022-06-03 20:06:30 +01:00
committed by GitHub
parent b7332895db
commit c2ba3bb7d5
8 changed files with 236 additions and 3 deletions

View File

@@ -51,7 +51,7 @@
"prettier": true,
"typescript": false,
"bundlewatch": false,
"backendTesting": false,
"backendTesting": true,
"editorConfig": true,
"styleci": true
}
@@ -64,5 +64,28 @@
}
],
"minimum-stability": "dev",
"prefer-stable": true
"prefer-stable": true,
"autoload-dev": {
"psr-4": {
"Flarum\\Subscriptions\\Tests\\": "tests/"
}
},
"scripts": {
"test": [
"@test:unit",
"@test:integration"
],
"test:unit": "phpunit -c tests/phpunit.unit.xml",
"test:integration": "phpunit -c tests/phpunit.integration.xml",
"test:setup": "@php tests/integration/setup.php"
},
"scripts-descriptions": {
"test": "Runs all tests.",
"test:unit": "Runs all unit tests.",
"test:integration": "Runs all integration tests.",
"test:setup": "Sets up a database for use with integration tests. Execute this only once."
},
"require-dev": {
"flarum/testing": "^1.0.0"
}
}