Skip to content

Commit 4e072b4

Browse files
chore(fix): rename workflow tests
1 parent 00d7695 commit 4e072b4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Actions/ManagesWorkflow.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function updateWorkflow(string $workflowId, array $data)
6262
* Delete Workflow.
6363
*
6464
* @param string $workflowId
65-
* @return \Novu\SDK\Resources\Workflow
65+
* @return bool
6666
*/
6767
public function deleteWorkflow(string $workflowId)
6868
{

tests/NovuTest.php tests/WorkflowTests.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<?php
22

3-
namespace Novu\SDK\Tests;
3+
namespace Tests;
44

55
use Novu\SDK\Novu;
66
use Novu\SDK\Resources\Workflow;
77
use PHPUnit\Framework\TestCase;
88

9-
class NovuTest extends Testcase
9+
class WorkflowTests extends Testcase
1010
{
1111
/**
1212
* @var \Novu\SDK\Novu
@@ -15,7 +15,7 @@ class NovuTest extends Testcase
1515

1616
protected function setUp(): void
1717
{
18-
$this->novu = new Novu([getenv('NOVU_API_KEY')]);
18+
$this->novu = new Novu([getenv('NOVU_API_KEY')]);
1919
}
2020

2121
public function testCreateWorkflow()

0 commit comments

Comments
 (0)