From 3987df19fe2f7d87adf2ce5d119392930b12b3fe Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Wed, 4 Oct 2017 04:11:46 +0000 Subject: [PATCH] Tests: Some tests in [41722] were using newer PHPUnit features. `test_cache` used PHPUnit's object mocking to test some internal behaviour in `Plural_Forms`, but made use of the `willReturn()` method, which was introduced in PHPUnit 4.0 as shorthand for `will($this->returnValue())`. Fixed by switching to the longer form. Several tests used the `@expectedException` directive to catch generic `Exception` exceptions, which was added in PHPUnit 3.7. Fixed by changing to an explicit `try` / `catch` test. See #41562. Built from https://develop.svn.wordpress.org/trunk@41725 git-svn-id: http://core.svn.wordpress.org/trunk@41559 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index cce0c3c1a0..65926c931b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-alpha-41724'; +$wp_version = '4.9-alpha-41725'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.