Skip to content

Commit

Permalink
test(rocketChat): Skip RocketChat test
Browse files Browse the repository at this point in the history
- Skip the RocketChat test in the RocketChatTest.php file
- Add a test skipped message
  • Loading branch information
guanguans committed Oct 20, 2023
1 parent 997b477 commit 3932a73
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -1050,4 +1050,4 @@ composer test

## 协议

MIT 许可证MIT。有关更多信息,请参见[协议文件](LICENSE)
MIT 许可证 (MIT)。有关更多信息,请参见[协议文件](LICENSE)
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@
"@composer-normalize",
"@composer-validate",
"@md-lint",
"@zh-lint",
"@lint",
"@style-lint",
"@test",
Expand Down Expand Up @@ -211,6 +212,6 @@
"test-migrate-configuration": "@test --migrate-configuration",
"yaml-lint": "@php ./vendor/bin/yaml-lint .github --ansi -v",
"zh-fix": "@zh-lint --fix",
"zh-lint": "zhlint *-zh_CN.md docs/*-zh_CN.md docs/**/*-zh_CN.md"
"zh-lint": "zhlint {./,docs/,docs/**/}*-zh_CN.md"
}
}
2 changes: 2 additions & 0 deletions tests/Feature/RocketChatTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ class RocketChatTest extends TestCase
{
public function testRocketChat(): void
{
$this->markTestSkipped(self::class.' is skipped.');

$this->expectException(ClientException::class);

$ret = Factory::rocketChat()
Expand Down

0 comments on commit 3932a73

Please sign in to comment.