
 
     /*
 
      % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %    
 
       F A I L E D     T e s t s \ F e a t u r e \ F o r m S e t u p R e g r e s s i o n T e s t   >   f r e s h   d a t a b a s e   s u p p o r t s   l i t e r a l   f o r m   w r i t e   c o l u m n s                                       
 
     { 
 
         " f a c i l i t y _ t a x _ a s s i g n m e n t s " :   [ 
 
                 " _ _ t a b l e _ _ " 
 
         ] , 
 
         " r o l e _ p e r m i s s i o n s " :   [ 
 
                 " _ _ t a b l e _ _ " 
 
         ] , 
 
         " p l a y e r _ e l o _ r a t i n g s " :   [ 
 
                 " _ _ t a b l e _ _ " 
 
         ] , 
 
         " f a c i l i t y _ f l o o r _ n o d e s " :   [ 
 
                 " _ _ t a b l e _ _ " 
 
         ] , 
 
         " p o s _ p r i n t e r _ t e m p l a t e s " :   [ 
 
                 " _ _ t a b l e _ _ " 
 
         ] , 
 
         " l o y a l t y _ e a r n _ s e t t i n g s " :   [ 
 
                 " _ _ t a b l e _ _ " 
 
         ] , 
 
         " s p o r t _ r u l e s " :   [ 
 
                 " _ _ t a b l e _ _ " 
 
         ] , 
 
         " p e r m i s s i o n s " :   [ 
 
                 " _ _ t a b l e _ _ " 
 
         ] , 
 
         " c o u r t _ h o u r l y _ h e a t m a p s " :   [ 
 
                 " _ _ t a b l e _ _ " 
 
         ] , 
 
         " a r e n a _ s o u n d _ f x " :   [ 
 
                 " _ _ t a b l e _ _ " 
 
         ] , 
 
         " c u s t o m e r _ s p e n d _ t i e r s " :   [ 
 
                 " _ _ t a b l e _ _ " 
 
         ] 
 
 } 
 
 F a i l e d   a s s e r t i n g   t h a t   t w o   a r r a y s   a r e   i d e n t i c a l . 
 
 - - -   E x p e c t e d 
 
 + + +   A c t u a l 
 
 @ @   @ @ 
 
 - A r r a y   & 0   [ ] 
 
 + A r r a y   & 0   [ 
 
 +         ' f a c i l i t y _ t a x _ a s s i g n m e n t s '   = >   A r r a y   & 1   [ 
 
 +                 0   = >   ' _ _ t a b l e _ _ ' , 
 
 +         ] , 
 
 +         ' r o l e _ p e r m i s s i o n s '   = >   A r r a y   & 2   [ 
 
 +                 0   = >   ' _ _ t a b l e _ _ ' , 
 
 +         ] , 
 
 +         ' p l a y e r _ e l o _ r a t i n g s '   = >   A r r a y   & 3   [ 
 
 +                 0   = >   ' _ _ t a b l e _ _ ' , 
 
 +         ] , 
 
 +         ' f a c i l i t y _ f l o o r _ n o d e s '   = >   A r r a y   & 4   [ 
 
 +                 0   = >   ' _ _ t a b l e _ _ ' , 
 
 +         ] , 
 
 +         ' p o s _ p r i n t e r _ t e m p l a t e s '   = >   A r r a y   & 5   [ 
 
 +                 0   = >   ' _ _ t a b l e _ _ ' , 
 
 +         ] , 
 
 +         ' l o y a l t y _ e a r n _ s e t t i n g s '   = >   A r r a y   & 6   [ 
 
 +                 0   = >   ' _ _ t a b l e _ _ ' , 
 
 +         ] , 
 
 +         ' s p o r t _ r u l e s '   = >   A r r a y   & 7   [ 
 
 +                 0   = >   ' _ _ t a b l e _ _ ' , 
 
 +         ] , 
 
 +         ' p e r m i s s i o n s '   = >   A r r a y   & 8   [ 
 
 +                 0   = >   ' _ _ t a b l e _ _ ' , 
 
 +         ] , 
 
 +         ' c o u r t _ h o u r l y _ h e a t m a p s '   = >   A r r a y   & 9   [ 
 
 +                 0   = >   ' _ _ t a b l e _ _ ' , 
 
 +         ] , 
 
 +         ' a r e n a _ s o u n d _ f x '   = >   A r r a y   & 1 0   [ 
 
 +                 0   = >   ' _ _ t a b l e _ _ ' , 
 
 +         ] , 
 
 +         ' c u s t o m e r _ s p e n d _ t i e r s '   = >   A r r a y   & 1 1   [ 
 
 +                 0   = >   ' _ _ t a b l e _ _ ' , 
 
 +         ] , 
 
 + ] 
 
 
 
     a t   t e s t s \ F e a t u r e \ F o r m S e t u p R e g r e s s i o n T e s t . p h p : 1 4 
 
           1 0 %          p u b l i c   f u n c t i o n   t e s t _ f r e s h _ d a t a b a s e _ s u p p o r t s _ l i t e r a l _ f o r m _ w r i t e _ c o l u m n s ( ) :   v o i d 
 
           1 1 %          { 
 
           1 2 %                  $ r e p o r t   =   ( n e w   F o r m D a t a b a s e A u d i t ) - > i n s p e c t ( ) ; 
 
           1 3 %                  f i l e _ p u t _ c o n t e n t s ( s t o r a g e _ p a t h ( ' l o g s / f r e s h - f o r m - d a t a b a s e - a u d i t . j s o n ' ) ,   j s o n _ e n c o d e ( $ r e p o r t ,   J S O N _ P R E T T Y _ P R I N T ) ) ; 
 
     '    1 4 %                  $ t h i s - > a s s e r t S a m e ( [ ] ,   $ r e p o r t [ ' m i s s i n g ' ] ,   j s o n _ e n c o d e ( $ r e p o r t [ ' m i s s i n g ' ] ,   J S O N _ P R E T T Y _ P R I N T ) ) ; 
 
           1 5 %          } 
 
           1 6 %  } 
 
           1 7 %
 
 
 
     1       t e s t s \ F e a t u r e \ F o r m S e t u p R e g r e s s i o n T e s t . p h p : 1 4 
 
 
 
 
 
     T e s t s :         1   f a i l e d   ( 1   a s s e r t i o n s ) 
 
     D u r a t i o n :   5 . 5 8 s 
 
 
 
 