File test/run/ToSort/Addon/Error.php

class Liaison\Test\Addon\Error

Constants

Properties

  • $lia = new \Lia();
  • $router = new \Lia\Addon\Router($lia);
  • $error = new \Lia\Addon\Error($lia);
  • $codes = [ 100 => 'Continue', 101 => 'Switching Protocol', 102 => 'Processing', 103 => 'Early Hints', 200 => 'OK', 201 => 'Created', 202 => 'Accepted', ];
  • foreach ($codes as $num=>$text) $thistest("Code $num");
  • $thiscompare($text,$errorstatusCodeText($num));

Methods

  • public function view_dir()
  • public function testErrorGoto()