Skip to content

Commit

Permalink
minor cs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiNissen committed Nov 30, 2016
1 parent 8adba21 commit b778ce2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/bootstrap.php
Expand Up @@ -66,7 +66,7 @@ function ( Request $request, Application $app ) {
$response->setCallBack( $request->get( 'jsonp_callback' ) );
} else {
$response->setContent(
$request->get( 'jsonp_callback' ) . '(' . $response->getContent() . ');'
$request->get( 'jsonp_callback' ) . '(' . $response->getContent() . ');'
);
}
} elseif( $response instanceof JsonResponse ) {
Expand Down
1 change: 0 additions & 1 deletion app/routes.php
Expand Up @@ -246,7 +246,6 @@ function( Application $app, Request $request ) use ( $ffFactory ) {
->method( 'GET|POST' )
->bind( 'subscribe' );


$app->get( 'contact/confirm-subscription/{confirmationCode}', function ( $confirmationCode ) use ( $ffFactory ) {
$useCase = $ffFactory->newConfirmSubscriptionUseCase();
$response = $useCase->confirmSubscription( $confirmationCode );
Expand Down
2 changes: 1 addition & 1 deletion tests/EdgeToEdge/Routes/AddSubscriptionRouteTest.php
Expand Up @@ -160,7 +160,7 @@ public function testGivenValidDataAndJSONPRequest_routeReturnsResult() {
);

$response = $client->getResponse();
//$this->assertTrue( $response->isSuccessful(), 'request is successful' );
$this->assertTrue( $response->isSuccessful(), 'request is successful' );
$this->assertContains( 'test({"status":"OK"})', $response->getContent() );
}

Expand Down

0 comments on commit b778ce2

Please sign in to comment.