Skip to content

Commit

Permalink
Wrote a pseudo test for the new resetSettings() method
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskonnertz authored Feb 22, 2023
1 parent 84fc729 commit 945406d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests/MainClassTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,19 @@ public function testSetSettings()
);
}

public function testResetSettings()
{
$deepLy = $this->getInstance();

$deepLy->setSettings(
1
);

$this->assertTrue($instance instanceof \ChrisKonnertz\DeepLy\DeepLy);

$deepLy->resetSettings();
}

public function testGetApiKeyType()
{
$deepLy = $this->getInstance();
Expand Down

0 comments on commit 945406d

Please sign in to comment.