Skip to content

Commit

Permalink
- Create testing to assert service class request() method
Browse files Browse the repository at this point in the history
  • Loading branch information
ianriizky committed May 12, 2022
1 parent 377f12d commit f65995f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
14 changes: 14 additions & 0 deletions tests/CommonTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

namespace Ianriizky\TalentaApi\Tests;

use Ianriizky\TalentaApi\Support\Facades\TalentaApi;
use Illuminate\Http\Client\PendingRequest;

class CommonTest extends TestCase
{
public function test_that_talenta_api_request_method_has_correct_return_value()
{
$this->assertInstanceOf(PendingRequest::class, TalentaApi::request());
}
}
16 changes: 0 additions & 16 deletions tests/ExampleTest.php

This file was deleted.

0 comments on commit f65995f

Please sign in to comment.