Add pear modules, mail and net_smtp via composer (#93)
Add pear modules, mail and net_smtp via composer, remove php 5.6 build due to phpunit 6
This commit is contained in:
21
lib/composer/vendor/phar-io/manifest/tests/xml/ExtElementTest.php
vendored
Normal file
21
lib/composer/vendor/phar-io/manifest/tests/xml/ExtElementTest.php
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace PharIo\Manifest;
|
||||
|
||||
class ExtElementTest extends \PHPUnit_Framework_TestCase {
|
||||
/**
|
||||
* @var ExtElement
|
||||
*/
|
||||
private $ext;
|
||||
|
||||
protected function setUp() {
|
||||
$dom = new \DOMDocument();
|
||||
$dom->loadXML('<?xml version="1.0" ?><ext xmlns="https://phar.io/xml/manifest/1.0" name="dom" />');
|
||||
$this->ext = new ExtElement($dom->documentElement);
|
||||
}
|
||||
|
||||
public function testNameCanBeRetrieved() {
|
||||
$this->assertEquals('dom', $this->ext->getName());
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user