'live_pub', 'secret_key' => 'live_secret' ]; $test_credentials = [ 'publishable_key' => 'test_pub', 'secret_key' => 'test_secret' ]; update_option( 'onepass_live_credentials', $live_credentials ); update_option( 'onepass_test_credentials', $test_credentials ); $this->assertEquals( onepass_get_publishable_key( 'live' ), 'live_pub' ); $this->assertEquals( onepass_get_secret_key( 'live' ), 'live_secret' ); $this->assertEquals( onepass_get_publishable_key( 'test' ), 'test_pub' ); $this->assertEquals( onepass_get_secret_key( 'test' ), 'test_secret' ); } }