ramadanproject/tests/Feature/PriceCalculationTest.php
Ahmed Darrazi 45a147253c
Some checks failed
tests / ci (push) Failing after 6m13s
linter / quality (pull_request) Failing after 58s
linter / quality (push) Failing after 1m19s
tests / ci (pull_request) Failing after 5m28s
feat(public-grid): add QA, quickstart, decision docs; scheduler docs; ignore files; tasks updates; run pint
2026-01-03 04:56:12 +01:00

12 lines
301 B
PHP

<?php
it('returns price per cell from config', function () {
$response = $this->getJson('/api/grid/price');
$response->assertOk();
$json = $response->json();
expect(array_key_exists('price_per_cell', $json))->toBeTrue();
expect(is_int($json['price_per_cell']))->toBeTrue();
});