[wp-trac] [WordPress Trac] #38457: PHPUnit suite in trunk does not pass currently: 3 tests with extra sizes="100vw" in output
WordPress Trac
noreply at wordpress.org
Sun Oct 23 21:47:28 UTC 2016
#38457: PHPUnit suite in trunk does not pass currently: 3 tests with extra
sizes="100vw" in output
---------------------------+------------------------------
Reporter: ottok | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
---------------------------+------------------------------
Comment (by peterwilsoncc):
I was having the same problems and started relying on my Travis-CI
instance for tests.
'''inside vvv'''
Once before and once after phpunit
{{{
PHP Warning: symlink(): No such file or directory in /vagrant/www
/wordpress-develop/tests/phpunit/includes/functions.php on line 170
}}}
During tests, many errors similar to
{{{
Creating default object from empty value
/vagrant/www/wordpress-develop/src/wp-
content/themes/twentyseventeen/inc/customizer.php:16
/vagrant/www/wordpress-develop/src/wp-includes/class-wp-hook.php:298
/vagrant/www/wordpress-develop/src/wp-includes/class-wp-hook.php:323
/vagrant/www/wordpress-develop/src/wp-includes/plugin.php:453
/vagrant/www/wordpress-
develop/tests/phpunit/tests/customize/widgets.php:512
}}}
These errors are causing those described above.
{{{
$ php -v
PHP 7.0.9-1+deb.sury.org~trusty+1 (cli) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.9-1+deb.sury.org~trusty+1, Copyright (c)
1999-2016, by Zend Technologies
$ phpunit --version
PHPUnit 4.8.27 by Sebastian Bergmann and contributors.
}}}
----
'''Outside vvv'''
I don't get the symlink error, I do get the followup error.
{{{
$ php -v
PHP 7.0.12 (cli) (built: Oct 14 2016 09:55:03) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
$ phpunit --version
PHPUnit 5.4.4 by Sebastian Bergmann and contributors.
}}}
cc @pento
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38457#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list