Skip to content

Commit

Permalink
Set Graph v15.0 as default
Browse files Browse the repository at this point in the history
  • Loading branch information
aalbarca committed Jan 28, 2023
1 parent d2b3d72 commit 1d23038
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/WhatsAppCloudApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class WhatsAppCloudApi
/**
* @const string Default Graph API version.
*/
public const DEFAULT_GRAPH_VERSION = 'v13.0';
public const DEFAULT_GRAPH_VERSION = 'v15.0';

/**
* @var WhatsAppCloudApiApp The WhatsAppCloudApiApp entity.
Expand Down
4 changes: 4 additions & 0 deletions tests/Integration/WhatsAppCloudApiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ public function test_send_template_without_components()

public function test_send_template_with_components()
{
$this->markTestIncomplete(
'Meta deleted the sample_issue_resolution template.'
);

$component_body = [
[
'type' => 'text',
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/WhatsAppCloudApiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ final class WhatsAppCloudApiTest extends TestCase
{
use ProphecyTrait;

private const TEST_GRAPH_VERSION = 'v13.0';
private const TEST_GRAPH_VERSION = 'v15.0';

private $whatsapp_app_cloud_api;
private $client_handler;
Expand Down

0 comments on commit 1d23038

Please sign in to comment.