Skip to content
This repository has been archived by the owner on Feb 17, 2020. It is now read-only.

Commit

Permalink
- Working on tests
Browse files Browse the repository at this point in the history
  • Loading branch information
akadlec committed Jan 15, 2017
1 parent 83a5da4 commit a69f614
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/IPubTests/ConfirmationDialog/ComponentTest.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class ComponentTest extends Tester\TestCase
$presenter = $this->createPresenter();

// Create GET request
$request = new Application\Request('Test', 'GET', ['action' => 'openDialog', $this->doVar => 'confirmationDialog-confirmDelete']);
$request = new Application\Request('Test', 'GET', ['action' => 'openDialog', 'do' => 'confirmationDialog-confirmDelete']);
// & fire presenter & catch response
$response = $presenter->run($request);

Expand All @@ -137,7 +137,7 @@ class ComponentTest extends Tester\TestCase
$presenter = $this->createPresenter();

// Create GET request
$request = new Application\Request('Test', 'GET', ['action' => 'openDialog', $this->doVar => 'confirmationDialog-confirmDelete']);
$request = new Application\Request('Test', 'GET', ['action' => 'openDialog', 'do' => 'confirmationDialog-confirmDelete']);
// & fire presenter & catch response
$response = $presenter->run($request);

Expand Down Expand Up @@ -176,7 +176,7 @@ class ComponentTest extends Tester\TestCase
$presenter = $this->createPresenter();

// Create GET request
$request = new Application\Request('Test', 'GET', ['action' => 'openDialog', $this->doVar => 'confirmationDialog-confirmDelete']);
$request = new Application\Request('Test', 'GET', ['action' => 'openDialog', 'do' => 'confirmationDialog-confirmDelete']);
// & fire presenter & catch response
$response = $presenter->run($request);

Expand Down

0 comments on commit a69f614

Please sign in to comment.