File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -455,14 +455,7 @@ public function test_renew_command()
455455 [$ app , $ tester ] = $ this ->appAndTester ();
456456
457457 $ site = Mockery::mock (RealSite::class);
458- $ site ->shouldReceive ('securedWithDates ' )->andReturn ([
459- [
460- 'site ' => 'tighten.test ' ,
461- 'exp ' => new DateTime ('Aug 2 13:16:40 2023 GMT ' )
462- ]
463- ]);
464- $ site ->shouldReceive ('domain ' )->with ('tighten.test ' )->andReturn ('tighten.test ' );
465- $ site ->shouldReceive ('secure ' )->with ('tighten.test ' , null , 368 )->once ();
458+ $ site ->shouldReceive ('renew ' )->andReturn ();
466459 swap (RealSite::class, $ site );
467460
468461 $ nginx = Mockery::mock (Nginx::class);
@@ -471,8 +464,6 @@ public function test_renew_command()
471464
472465 $ tester ->run (['command ' => 'renew ' ]);
473466 $ tester ->assertCommandIsSuccessful ();
474-
475- $ this ->assertStringContainsString ('tighten.test ' , $ tester ->getDisplay ());
476467 }
477468
478469 public function test_proxy_command ()
You can’t perform that action at this time.
0 commit comments