pmReleaseNotesTest.php

  1. 8.0.x tests/pmReleaseNotesTest.php
  2. 6.x tests/pmReleaseNotesTest.php
  3. 7.x tests/pmReleaseNotesTest.php
  4. 5.x tests/pmReleaseNotesTest.php
  5. master tests/pmReleaseNotesTest.php

Namespace

Unish

Classes

Namesort descending Description
pmReleaseNotesCase @group pm

File

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