From a301163c46b831e12c09ca6a0b553d9ccef6e051 Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Wed, 10 May 2017 23:36:18 +0000 Subject: [PATCH] Build/Test: Add an intentionally failing test. To ensure that Travis is sending messages to Slack, a test needs to fail, so here's a failing test. This failing test (and no other failing tests) will be reverted once Travis confirms that it isn't failing to message Slack about failing tests. See #40712. git-svn-id: https://develop.svn.wordpress.org/trunk@40613 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/basic.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/phpunit/tests/basic.php b/tests/phpunit/tests/basic.php index 0d145f638d..2dffc14a69 100644 --- a/tests/phpunit/tests/basic.php +++ b/tests/phpunit/tests/basic.php @@ -175,4 +175,11 @@ EOF; return $return; } + + /** + * @ticket 40712 + */ + function test_failing_test_notifies_slack() { + $this->assertTrue( false ); + } }