Jump to content

Search the Community

Showing results for tags 'phpunit'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Community Help and Support
    • PrestaShop Download
    • PrestaShop Addons
  • News and Announcements
    • PrestaShop news and releases
    • PrestaShop Beta
    • PrestaShop Blogs
    • PrestaShop Meetups
  • International community (English)
    • General topics
    • PrestaShop Merchants
    • PrestaShop Developers
    • Taxes, Translations & Laws
    • Community Modules and Themes
  • Forum francophone
    • Discussion générale
    • Aide et support communautaire
    • PrestaShop pour les marchands
    • PrestaShop pour les développeurs
    • Adaptation aux lois Québécoises
    • Modules et thèmes gratuits
    • Modules et thèmes payants
  • Foro en Español
    • Discusión general
    • Soporte de la comunidad y ayuda
    • Comerciantes PrestaShop
    • Desarrolladores PrestaShop
    • Módulos y plantillas gratuitas
  • Forum italiano
    • Forum generale
    • Aiuto e supporto della Community
    • Commercianti PrestaShop
    • Sviluppatori PrestaShop
    • Aspetti legali sull'eCommerce
    • Moduli e template gratuiti
  • Deutsches Forum
    • Generelle Fragen
    • Support und Hilfe aus der Community
    • e-Commerce/Versand-Handel mit Prestashop
    • Prestashop-Entwickler
    • Anpassung an deutsches Recht
    • Kostenlose Module und Templates
    • Generelle Fragen Copy
  • Nederlandstalig forum
    • Algemeen
    • Hulp en ondersteuning, van en voor de community
    • PrestaShop-winkeliers
    • PrestaShop-ontwikkelaars
    • Het aanpassen van PrestaShop
    • Gratis modules en templates
  • Fórum em Português
    • Fórum Geral
    • Ajuda e Suporte da Comunidade
    • Lojistas que utilizam o PrestaShop
    • Desenvolvedores PrestaShop
    • Legislação específica
    • Módulos e temas gratuitos
  • Polskie forum
    • Forum ogólne
    • Wsparcie i pomoc użytkowników
    • Oferty twórców PrestaShop
    • Deweloperzy PrestaShop
    • Darmowe Moduły i Szablony
  • Dansk forum
    • Generelt forum
    • Hjælp og support fra fællesskabet
    • PrestaShop for købmænd
    • PrestaShop for udviklere
    • Love og regler
    • Gratis moduler og temaer
  • České fórum
    • Instalasi, Konfigurasi dan upgrade
    • Obecná diskuze
    • Bezplatné moduly a šablony
    • PrestaShop vývojáři
    • PrestaShop obchodníci
  • Bahasa Indonesia
    • Diskusi Umum
    • Podpora a pomoc komunity
    • Laporan Bug
    • Jasa, Promosi & Lowongan Kerja
  • Svenskt forum
    • Allmän diskussion
    • Installation, konfigurering och uppdatering
  • Forumul românesc
    • Discuţii generale
    • Instalare, configurare şi upgrade
  • Pусский язык
    • Обсуждение скрипта
    • Установка, Настройка, Обновление
    • Прием багов
  • Slovenské fórum
    • Všeobecná diskusia
    • Podpora a pomoc komunity
    • PrestaShop obchodníci
    • PrestaShop vývojári
    • Bezplatné moduly a šablóny
  • Türkçe Topluluğu
    • Genel Konular
    • Topluluk desteği ve yardım
    • PrestaShop Tüccarları
    • Prestashop Geliştiricileri
    • Ücretsiz Modül ve Temalar
  • Diễn đàn tiếng Việt
    • Thảo luận chung
    • Hỗ trợ từ cộng đồng
    • Dành cho chủ doanh nghiệp / cửa hàng
    • Dành cho lập trình viên
  • PrestaShop Communities
    • اللغه العربيه [Arabic]
    • Ελληνικά [Greek]
    • עִבְרִית [Hebrew]
    • 中文
    • Magyar [Hungarian]
    • 日本語 [Japanese]
    • Lietuviškai [Lithuanian]
    • انجمن فارسی [Persian]
    • ไทย [Thai]
    • Malaysia [Malaysian]
    • Eesti [Estonian]
    • Slovenščina [Slovenian]
    • Српски [Serbian]
  • IP. Board Forum
    • IP. Board Forum Questions and Issues
  • Archive
    • Zapłać Moduły i Szablony [ARCHIVE]
    • Moduly, upravy a dizajn [ARCHIVE]
    • Phát triển và các mô-đun [ARCHIVE]
    • Yazılım, Modül ve Tema [ARCHIVE]
    • Модули, Шаблоны [ARCHIVE]
    • Module şi teme [ARCHIVE]
    • Pengembangan dan Modul [ARCHIVE]
    • Moduler och teman [ARCHIVE]
    • Ecommerce x PrestaShop [ARCHIVE BOARD]
    • Vývoj a moduly [ARCHIVE]
    • Kostenpflichtige Module, Templates [ARCHIVE]
    • Módulos y temas pagos [ARCHIVE]
    • Módulos e temas pagos [ARCHIVE]
    • Servizi commerciali [ARCHIVE]
    • Forum - Feedback Contributor
    • PrestaShop Cloud

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 4 results

  1. Arkadaşlar Selamlar, Yazmak için ancak fırsat bulabildim. Dün, 7 Ocak 2020'de kritik bir güvenlik açığı keşfedildi ve tüm Prestashop kullanıcıları uyarıldı, detaylarını aşağıda paylaşıyor olacağım, mağazanızın güvenliği için dikkate almanız şiddetle tavsiye edilir. Haber, PrestaShop modüllerinde kritik güvenlik açığı başlığı ile duyuruldu: Not bu yazı: çeviri, haber gibi olmakla birlikte kaynağa ek bilgiler de paylaşılacaktır. Önem derecesi: Saldırganlar bu açığı kullanarak mağazanızın yönetimini ele geçirebilir. Bu zafiyet, PHPUnit'teki bir açıktan kaynaklanıyormuş ve 7.5.19 ve 8.5.1 sürümlerinde düzeltilmiş. Peki sizin siteniz de bundan etkilenmiş olabilir mi? Bunu anlamak için, ana dizindeki ve modules/tuModuller/vendor klasörlerine bakın, buralarda phpunit adında bir dizin varsa mağazanız etkilenmiş demektir, demişler. Yani? anaDizin/vendor klasörüne ve modules/modul1/vendor, modules/modul2/vendor ... gibi hepsini kontrol etmelisiniz. Ben bir profesyonel kullanıcı değilim, bunların hepsini tek tek mi kontrol edeceğim? Hayır, basitçe; FTP'ye bağlanın, modules klasörünün tamamını bilgisayarınıza kopyalayın ve klasör içerisinde arama yapın. Eğer varsa, phpunit bulursam ne yapmalıyım? Silin ve bu durumu hosting sağlayıcınızla paylaşın. Eğer etkilendiyseniz, saldırgan bir dosyayı yenileyerek ya da yeni bir dosya oluşturarak mağanızda kalıcı olmuş olabilirler, bilinen kötü amaçlı dosyaların kapsamlı bir listesi var (ek'te paylaştım). Neyse ki Prestashop değişiklik olan dosyalarla ilgili bir kayıt tutuyor. Bu kayda, Gelişmiş -> Bilgi Sayfasından ulaşabilir ve yapılan değişiklikleri görebilirsiniz. Tabii ki tek başına bu da yeterli değildir. Ek olarak: Dosyaların yazılma, değiştirilme tarihlerini inceleyebilirsiniz, Kullandığınız PS çekirdek versiyonu üzerinde bir değişiklik yapmadıysanız, aynı versiyonun tüm dosyalarını olduğu gibi üzerine yazdırabilirsiniz. Bu işlem, eğer saldırgan PS'nin core dosyalarından birisinde bir değişiklik yaptıysa onun silinmesini sağlayacaktır. Bu açıktan dolayı bazı modüllerle ilgili güncelleştirmeler yayımlandı, Modüller sayfasından güncellemesi gelen modülleri güncelleyebilirsiniz (daima yedek alınız). Etkilenmiş olabilecek modüller: 1-Click upgrade: v4.10.1 Cart Abandonment Pro: v2.0.10 Faceted Search: v3.4.1 Merchant Expertise: v2.3.2 PrestaShop Checkout: v1.2.9 Şimdilik aktarmak istediklerim ve aklıma gelenler bunlar, tedbirinizi alınız, eksik - yanlış ya da anlaşılmayan bir kısım varsa aşağıdan görüşlerinizi paylaşabilirsiniz. Güvenli günler! Kaynak: https://build.prestashop.com/news/critical-security-vulnerability-in-prestashop-modules/?_ga=2.46162855.164799965.1578421118-2147398391.1571566159
  2. Hi there, I want to do unit testing of my module using PHPUnit. But I don't know how to test action Hooks methods, Anyone? public function hookActionObjectProductInCartDeleteAfter($params) { // Do something Like Delete Specific Price, send mail, etc. }
  3. Hello all Prestashopers, I'm trying to create an unit test using PHPunit framework, everything is setup well and working and I could create some simple unit tests, but when it comes to test something related to the cart/customer...etc objects, I get this errors: PrestaShopException: Link to database cannot be established:SQLSTATE[HY000] [2002] No such file or directory Even if the database info are there but somehow the PDO object throws this message, any idea please? e.g the customer fetch: Applications/MAMP/htdocs/presta17/classes/db/DbPDO.php:102 /Applications/MAMP/htdocs/presta17/classes/db/Db.php:323 /Applications/MAMP/htdocs/presta17/classes/db/Db.php:234 /Applications/MAMP/htdocs/presta17/config/alias.php:48 /Applications/MAMP/htdocs/presta17/config/alias.php:53 /Applications/MAMP/htdocs/presta17/classes/Configuration.php:152 /Applications/MAMP/htdocs/presta17/classes/Configuration.php:206 /Applications/MAMP/htdocs/presta17/classes/Customer.php:221 Thanks in advance, any info I'm ready to collaborate immediately.
  4. Buenos días: ¿Cómo hacéis vosotros los test unitarios en Prestashop? Para cualquier desarrollador los test unitarios son algo bastante importante, y en Prestashop yo no consigo funcionar con phpUnit correctamente. He visto estos dos enlaces, pero no soy capaz de configurarlo bien: https://github.com/PrestaShop/PrestaShop/pull/70 ¿Vosotros cómo lo hacéis? ¿O trabajamos todos sin algo tan importante como los test unitario? Muchas gracias
×
×
  • Create New...