mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
21 lines
460 B
PHP
21 lines
460 B
PHP
<?php
|
|
|
|
namespace SilverStripe\Subsites\Tests\SiteTreeSubsitesTest;
|
|
|
|
use SilverStripe\Dev\TestOnly;
|
|
use SilverStripe\ErrorPage\ErrorPage;
|
|
|
|
class TestErrorPage extends ErrorPage implements TestOnly
|
|
{
|
|
/**
|
|
* Helper method to call protected members
|
|
*
|
|
* @param int $statusCode
|
|
* @return string
|
|
*/
|
|
public static function get_error_filename_spy($statusCode)
|
|
{
|
|
return TestErrorPage::get_error_filename($statusCode);
|
|
}
|
|
}
|