From 74cf8d1e69721fd0aaf003b620d47288c8a37222 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Thu, 2 Jan 2020 14:14:03 +0100 Subject: Metrics: Added controller feature test --- .../Feature/Controllers/Metrics/ControllerTest.php | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 tests/Feature/Controllers/Metrics/ControllerTest.php (limited to 'tests/Feature/Controllers') diff --git a/tests/Feature/Controllers/Metrics/ControllerTest.php b/tests/Feature/Controllers/Metrics/ControllerTest.php new file mode 100644 index 00000000..8f8f102b --- /dev/null +++ b/tests/Feature/Controllers/Metrics/ControllerTest.php @@ -0,0 +1,23 @@ + null]); + + /** @var Controller $controller */ + $controller = app()->make(Controller::class); + $response = $controller->metrics(); + + $this->assertEquals(200, $response->getStatusCode()); + } +} -- cgit v1.2.3-70-g09d2