File tree Expand file tree Collapse file tree 1 file changed +0
-35
lines changed Expand file tree Collapse file tree 1 file changed +0
-35
lines changed Original file line number Diff line number Diff line change @@ -571,41 +571,6 @@ public function testGetInstance() {
571
571
$ this ->assertInstanceOf ('Cake\Error\Debugger ' , $ result );
572
572
}
573
573
574
- /**
575
- * testNoDbCredentials
576
- *
577
- * If a connection error occurs, the config variable is passed through exportVar
578
- * *** our database login credentials such that they are never visible
579
- *
580
- * @return void
581
- */
582
- public function testNoDbCredentials () {
583
- $ config = array (
584
- 'datasource ' => 'mysql ' ,
585
- 'persistent ' => false ,
586
- 'host ' => 'void.cakephp.org ' ,
587
- 'login ' => 'cakephp-user ' ,
588
- 'password ' => 'cakephp-password ' ,
589
- 'database ' => 'cakephp-database ' ,
590
- 'prefix ' => ''
591
- );
592
-
593
- $ output = Debugger::exportVar ($ config );
594
-
595
- $ expectedArray = array (
596
- 'datasource ' => 'mysql ' ,
597
- 'persistent ' => false ,
598
- 'host ' => '***** ' ,
599
- 'login ' => '***** ' ,
600
- 'password ' => '***** ' ,
601
- 'database ' => '***** ' ,
602
- 'prefix ' => ''
603
- );
604
- $ expected = Debugger::exportVar ($ expectedArray );
605
-
606
- $ this ->assertEquals ($ expected , $ output );
607
- }
608
-
609
574
/**
610
575
* Test that exportVar() doesn't loop through recursive structures.
611
576
*
You can’t perform that action at this time.
0 commit comments