summaryrefslogtreecommitdiffstats
path: root/tests/PlanetErrorTest.php
blob: d2f459903584af1352062578c11173c925f7211c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<?php

use PHPUnit\Framework\TestCase;

class PlanetErrorTest extends TestCase
{
    public function test_to_string()
    {
        $error = new PlanetError(1, 'foo');
        $this->assertEquals('notice: foo', $error->toString());
    }
}