assertEquals( '__initial_html__', $wp_auth0->render_form( '__initial_html__' ) ); } public function testThatHtmlIsIgnoredIfAuth0ParamSet() { $wp_auth0 = new WP_Auth0( self::$opts ); $this->auth0Ready(); $_GET['auth0'] = 1; $this->assertNotEquals( '__initial_html__', $wp_auth0->render_form( '__initial_html__' ) ); } public function testThatHtmlIsIgnoredIfLostpasswordParamSet() { $wp_auth0 = new WP_Auth0( self::$opts ); $this->auth0Ready(); $_GET['action'] = 'lostpassword'; $this->assertNotEquals( '__initial_html__', $wp_auth0->render_form( '__initial_html__' ) ); } public function testThatHtmlIsIgnoredWhenAuth0IsReady() { $wp_auth0 = new WP_Auth0( self::$opts ); $this->auth0Ready(); $this->assertNotEquals( '__initial_html__', $wp_auth0->render_form( '__initial_html__' ) ); } }