Skip to content

Commit

Permalink
Remove deprecations.
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Aug 21, 2019
1 parent 8316cba commit b45b8e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
10 changes: 1 addition & 9 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,19 @@
backupStaticAttributes="false"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
bootstrap="tests/bootstrap.php">
<php>
<ini name="memory_limit" value="-1"/>
<ini name="apc.enable_cli" value="1"/>
<!-- E_ALL => 32767 -->
<!-- E_ALL & ~E_USER_DEPRECATED => 16383 -->
<ini name="error_reporting" value="16383"/>
<ini name="error_reporting" value="32767"/>
</php>
<testsuites>
<testsuite name="Feed">
<directory>tests/</directory>
</testsuite>
</testsuites>
<listeners>
<listener class="\Cake\TestSuite\Fixture\FixtureInjector">
<arguments>
<object class="\Cake\TestSuite\Fixture\FixtureManager" />
</arguments>
</listener>
</listeners>
<filter>
<whitelist>
<directory suffix=".php">src/</directory>
Expand Down
6 changes: 3 additions & 3 deletions tests/TestCase/View/RssViewTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public function testSerialize() {
</rss>
RSS;
$this->assertSame('application/rss+xml', $Response->type());
$this->assertSame('application/rss+xml', $Response->getType());
$this->assertTextEquals($expected, $result);
}

Expand Down Expand Up @@ -168,7 +168,7 @@ public function testSerializeWithPrefixes() {
</rss>
RSS;
$this->assertSame('application/rss+xml', $Response->type());
$this->assertSame('application/rss+xml', $Response->getType());
$this->assertTextEquals($expected, $result);
}

Expand Down Expand Up @@ -243,7 +243,7 @@ public function testSerializeWithArrayLinks() {
</rss>
RSS;
$this->assertSame('application/rss+xml', $Response->type());
$this->assertSame('application/rss+xml', $Response->getType());
$this->assertTextEquals($expected, $result);
}

Expand Down

0 comments on commit b45b8e9

Please sign in to comment.