Integration tests test script enqueue/register fails

You need to run do_action('wp_enqueue_scripts') prior to executing your assertions. This article has more details and an example.