Yaffs site version 1.1
[yaffs-website] / vendor / drush / drush / tests / pmReleaseNotesTest.php
1 <?php
2
3 namespace Unish;
4
5 /**
6   * @group pm
7   */
8 class pmReleaseNotesCase extends CommandUnishTestCase {
9
10   /**
11    * Tests for pm-releasenotes command.
12    */
13   public function testReleaseNotes() {
14     $this->drush('pm-releasenotes', array('drupal-7.1'));
15     $output = $this->getOutput();
16     $this->assertContains("RELEASE NOTES FOR 'DRUPAL' PROJECT, VERSION 7.1", $output);
17     $this->assertContains('Last updated:  25 May 2011 at 20:59 UTC.', $output);
18     $this->assertContains('SA-CORE-2011-001 - Drupal core - Multiple vulnerabilities', $output);
19   }
20 }
21