Create User Zone

This commit is contained in:
omair saleh
2022-09-25 03:46:14 +08:00
parent 8143e2b9a2
commit b008ad5106
59 changed files with 1757 additions and 12 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
namespace Tests\Integration;
use GuzzleHttp\Client;
use Tests\TestCase;
class DoodleAPITest extends TestCase
{
/** @test */
public function get_doodle_avatar()
{
$url = 'https://doodleipsum.com/300/avatar-2?shape=circle';
$response = (new Client())->get($url);
$this->assertEquals(200, $response->getStatusCode());
$this->assertEquals('image/png', $response->getHeader('Content-Type')[0]);
}
}